Class LoggingInterceptor

java.lang.Object
org.apache.struts2.showcase.proxy.LoggingInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class LoggingInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
Simple AOP interceptor that wraps actions in a Spring proxy. Used to test that Struts correctly handles Spring AOP proxied actions in action chaining scenarios (WW-5514).
  • Constructor Details

    • LoggingInterceptor

      public LoggingInterceptor()
  • Method Details

    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable