com.caucho.ejb3.gen
Class LifecycleInvocationContext

java.lang.Object
  extended by com.caucho.ejb3.gen.LifecycleInvocationContext
All Implemented Interfaces:
InvocationContext

public class LifecycleInvocationContext
extends java.lang.Object
implements InvocationContext


Constructor Summary
LifecycleInvocationContext(java.lang.Object target, java.lang.reflect.Method[] chainMethods, java.lang.Object[] chainObjects)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextData()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleInvocationContext

public LifecycleInvocationContext(java.lang.Object target,
                                  java.lang.reflect.Method[] chainMethods,
                                  java.lang.Object[] chainObjects)
Method Detail

getTarget

public java.lang.Object getTarget()
Specified by:
getTarget in interface InvocationContext

getTimer

public java.lang.Object getTimer()
Specified by:
getTimer in interface InvocationContext

getMethod

public java.lang.reflect.Method getMethod()
Specified by:
getMethod 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

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