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 Object
implements InvocationContext

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


Constructor Summary
CallbackInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, com.sun.ejb.containers.interceptors.CallbackChainImpl chain)
           
 
Method Summary
 Map<String,Object> getContextData()
           
 Object[] getInterceptorInstances()
           
 Method getMethod()
           
 Object[] getParameters()
           
 Object getTarget()
           
 Object getTimer()
           
 Object proceed()
           
 void setParameters(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(Object targetObjectInstance,
                                 Object[] interceptorInstances,
                                 com.sun.ejb.containers.interceptors.CallbackChainImpl chain)
Method Detail

getTarget

public Object getTarget()
Specified by:
getTarget in interface InvocationContext

getInterceptorInstances

public Object[] getInterceptorInstances()

getTimer

public Object getTimer()
Specified by:
getTimer in interface InvocationContext

getMethod

public Method getMethod()
Specified by:
getMethod in interface InvocationContext

getParameters

public Object[] getParameters()
Specified by:
getParameters in interface InvocationContext

setParameters

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

getContextData

public Map<String,Object> getContextData()
Specified by:
getContextData in interface InvocationContext

proceed

public Object proceed()
               throws Exception
Specified by:
proceed in interface InvocationContext
Throws:
Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.