|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationContext
Context information passed to AroundInvoke and Interceptor-class lifecycle callback methods.
Method Summary | |
---|---|
Map<String,Object> |
getContextData()
Returns the context data associated with this invocation or lifecycle callback. |
Method |
getMethod()
Returns the method of the bean class for which the interceptor was invoked. |
Object[] |
getParameters()
Returns the parameters that will be used to invoke the business method. |
Object |
getTarget()
Returns the target instance. |
Object |
proceed()
Proceed to the next entry in the interceptor chain. |
void |
setParameters(Object[] params)
Sets the parameters that will be used to invoke the business method. |
Method Detail |
---|
Object getTarget()
Method getMethod()
Object[] getParameters()
IllegalStateException
- if invoked within
a lifecycle callback method.void setParameters(Object[] params)
IllegalStateException
- if invoked within
a lifecycle callback method.Map<String,Object> getContextData()
Object proceed() throws Exception
Exception
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.