Example usage for org.springframework.aop.interceptor PerformanceMonitorInterceptor getSuffix

List of usage examples for org.springframework.aop.interceptor PerformanceMonitorInterceptor getSuffix

Introduction

In this page you can find the example usage for org.springframework.aop.interceptor PerformanceMonitorInterceptor getSuffix.

Prototype

protected String getSuffix() 

Source Link

Document

Return the text that will get prepended to the trace data.

Usage

From source file:org.springframework.aop.interceptor.PerformanceMonitorInterceptorTests.java

@Test
public void testSuffixAndPrefixAssignment() {
    PerformanceMonitorInterceptor interceptor = new PerformanceMonitorInterceptor();

    assertNotNull(interceptor.getPrefix());
    assertNotNull(interceptor.getSuffix());

    interceptor.setPrefix(null);// w  w w .j  a v  a  2  s. c o m
    interceptor.setSuffix(null);

    assertNotNull(interceptor.getPrefix());
    assertNotNull(interceptor.getSuffix());
}