类 MethodInvokerMethodInterceptor
- java.lang.Object
- org.springframework.batch.core.listener.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 andMethodInvoker
s, 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 isStepExecutionListener.afterStep(org.springframework.batch.core.StepExecution)
, which returns ExitStatus.- 从以下版本开始:
- 2.0
- 作者:
- Lucas Ward
- 另请参阅:
MethodInvoker
构造器概要
构造器 构造器 说明 MethodInvokerMethodInterceptor(java.util.Map<java.lang.String,java.util.Set<MethodInvoker>> invokerMap)
MethodInvokerMethodInterceptor(java.util.Map<java.lang.String,java.util.Set<MethodInvoker>> invokerMap, boolean ordered)
构造器详细资料
MethodInvokerMethodInterceptor
public MethodInvokerMethodInterceptor(java.util.Map<java.lang.String,java.util.Set<MethodInvoker>> invokerMap)
MethodInvokerMethodInterceptor
public MethodInvokerMethodInterceptor(java.util.Map<java.lang.String,java.util.Set<MethodInvoker>> invokerMap, boolean ordered)
方法详细资料
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