com.caucho.config.gen
Class CandiInvocationContext
java.lang.Object
com.caucho.config.gen.CandiInvocationContext
- All Implemented Interfaces:
- InvocationContext
public class CandiInvocationContext
- extends java.lang.Object
- implements InvocationContext
Constructor Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CandiInvocationContext
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)
getTarget
public java.lang.Object getTarget()
- Specified by:
getTarget
in interface InvocationContext
getMethod
public java.lang.reflect.Method getMethod()
- Specified by:
getMethod
in interface InvocationContext
getTimer
public java.lang.Object getTimer()
- Specified by:
getTimer
in interface InvocationContext
getParameters
public java.lang.Object[] getParameters()
throws java.lang.IllegalStateException
- Specified by:
getParameters
in interface InvocationContext
- Throws:
java.lang.IllegalStateException
setParameters
public void setParameters(java.lang.Object[] parameters)
throws java.lang.IllegalStateException
- Specified by:
setParameters
in interface InvocationContext
- Throws:
java.lang.IllegalStateException
getCurrentContextData
public static java.util.Map<java.lang.String,java.lang.Object> getCurrentContextData()
getContextData
public java.util.Map<java.lang.String,java.lang.Object> getContextData()
- Specified by:
getContextData
in interface InvocationContext
proceed
public java.lang.Object proceed()
throws java.lang.Exception
- Specified by:
proceed
in interface InvocationContext
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object