javax.interceptor
Interface InvocationContext


public interface InvocationContext

The InvocationContext object provides the metadata that is required for AroundInvoke interceptor methods.

Version:
$Revision: 85923 $
Author:
Kabir Khan

Method Summary
 Map<String,Object> getContextData()
          Returns the context data associated with this invocation or lifecycle callback.
 Method getMethod()
           
 Object[] getParameters()
           
 Object getTarget()
           
 Object getTimer()
          Returns the timer associated with an @AroundTimeout method.
 Object proceed()
           
 void setParameters(Object[] params)
           
 

Method Detail

getTarget

Object getTarget()

getMethod

Method getMethod()

getParameters

Object[] getParameters()

setParameters

void setParameters(Object[] params)

getContextData

Map<String,Object> getContextData()
Returns the context data associated with this invocation or lifecycle callback. If there is no context data, an empty Map object will be returned.


getTimer

Object getTimer()
Returns the timer associated with an @AroundTimeout method.

Since:
3.1

proceed

Object proceed()
               throws Exception
Throws:
Exception


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.