public class CandiInvocationContext extends java.lang.Object implements InvocationContext
Constructor and Description |
---|
CandiInvocationContext(InterceptionType type,
java.lang.Object target,
java.lang.reflect.Method apiMethod,
java.lang.reflect.Method implMethod,
Interceptor<?>[] chainMethods,
java.lang.Object[] chainObjects,
int[] chainIndex,
java.lang.Object[] param) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContextData() |
static java.util.Map<java.lang.String,java.lang.Object> |
getCurrentContextData() |
java.lang.reflect.Method |
getMethod() |
java.lang.Object[] |
getParameters() |
java.lang.Object |
getTarget() |
java.lang.Object |
getTimer() |
java.lang.Object |
proceed() |
void |
setParameters(java.lang.Object[] parameters) |
java.lang.String |
toString() |
public CandiInvocationContext(InterceptionType type, java.lang.Object target, java.lang.reflect.Method apiMethod, java.lang.reflect.Method implMethod, Interceptor<?>[] chainMethods, java.lang.Object[] chainObjects, int[] chainIndex, java.lang.Object[] param)
public java.lang.Object getTarget()
getTarget
in interface InvocationContext
public java.lang.reflect.Method getMethod()
getMethod
in interface InvocationContext
public java.lang.Object getTimer()
getTimer
in interface InvocationContext
public java.lang.Object[] getParameters() throws java.lang.IllegalStateException
getParameters
in interface InvocationContext
java.lang.IllegalStateException
public void setParameters(java.lang.Object[] parameters) throws java.lang.IllegalStateException
setParameters
in interface InvocationContext
java.lang.IllegalStateException
public static java.util.Map<java.lang.String,java.lang.Object> getCurrentContextData()
public java.util.Map<java.lang.String,java.lang.Object> getContextData()
getContextData
in interface InvocationContext
public java.lang.Object proceed() throws java.lang.Exception
proceed
in interface InvocationContext
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object