com.caucho.config.gen
Class CandiInvocationContext

java.lang.Object
  extended by 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)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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