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.MethodInvoker| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
public MethodInvokerMethodInterceptor(java.util.Map<java.lang.String,java.util.Set<MethodInvoker>> invokerMap)
public MethodInvokerMethodInterceptor(java.util.Map<java.lang.String,java.util.Set<MethodInvoker>> invokerMap, boolean ordered)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.lang.Throwablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object