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

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

Introduction

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

Prototype

public PerformanceMonitorInterceptor() 

Source Link

Document

Create a new PerformanceMonitorInterceptor with a static logger.

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);//ww  w.j  a  va  2 s  .co m
    interceptor.setSuffix(null);

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