com.sun.ejb.containers.interceptors
Class CallbackInvocationContext

java.lang.Object
  extended by com.sun.ejb.containers.interceptors.CallbackInvocationContext
All Implemented Interfaces:
InvocationContext
Direct Known Subclasses:
AroundInvokeInvocationContext

public class CallbackInvocationContext
extends java.lang.Object
implements InvocationContext

Concrete InvocationContext implementation passed to callback methods defined in interceptor classes.


Constructor Summary
CallbackInvocationContext(java.lang.Object targetObjectInstance, java.lang.Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextData()
           
 java.lang.Object[] getInterceptorInstances()
           
 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[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackInvocationContext

public CallbackInvocationContext(java.lang.Object targetObjectInstance,
                                 java.lang.Object[] interceptorInstances,
                                 com.sun.ejb.containers.interceptors.CallbackChainImpl chain)
Method Detail

getTarget

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

getInterceptorInstances

public java.lang.Object[] getInterceptorInstances()

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()
Specified by:
getParameters in interface InvocationContext

setParameters

public void setParameters(java.lang.Object[] params)
Specified by:
setParameters in interface InvocationContext

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


Copyright © 2012 GlassFish Community. All Rights Reserved.