|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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.
IllegalArgumentException
- if the parameter types do not match
the types for the business method, or the number of parameters supplied does not
equal the number of parameters for the business method.Map<String,Object> getContextData()
Object proceed() throws Exception
Exception
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.