Class ContextAdvisor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    @Component("context.advisor")
    public class ContextAdvisor
    extends Object
    implements org.aopalliance.intercept.MethodInterceptor
    • Constructor Detail

      • ContextAdvisor

        public ContextAdvisor()
    • Method Detail

      • invoke

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

        private void setUnleashContext​(Class<?>[] parameterTypes,
                                       Object[] params,
                                       int index,
                                       Annotation annotation)