类 MethodInvokerMethodInterceptor

  • 所有已实现的接口:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public class MethodInvokerMethodInterceptor
    extends java.lang.Object
    implements org.aopalliance.intercept.MethodInterceptor
    MethodInterceptor that, given a map of method names and MethodInvokers, will execute all methods tied to a particular method name, with the provided arguments. The only possible return value that is handled is of type ExitStatus, since the only StepListener implementation that isn't void is StepExecutionListener.afterStep(org.springframework.batch.core.StepExecution) , which returns ExitStatus.
    从以下版本开始:
    2.0
    作者:
    Lucas Ward
    另请参阅:
    MethodInvoker
    • 方法详细资料

      • invoke

        public java.lang.Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
                                throws java.lang.Throwable
        指定者:
        invoke 在接口中 org.aopalliance.intercept.MethodInterceptor
        抛出:
        java.lang.Throwable
      • equals

        public boolean equals​(java.lang.Object obj)
        覆盖:
        equals 在类中 java.lang.Object
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object