|
||||||||||
| 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 | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContextData()
Returns the context data associated with this invocation or lifecycle callback. |
java.lang.reflect.Method |
getMethod()
Returns the method of the bean class for which the interceptor was invoked. |
java.lang.Object[] |
getParameters()
Returns the parameters that will be used to invoke the business method. |
java.lang.Object |
getTarget()
Returns the target instance. |
java.lang.Object |
proceed()
Proceed to the next entry in the interceptor chain. |
void |
setParameters(java.lang.Object[] params)
Sets the parameters that will be used to invoke the business method. |
| Method Detail |
|---|
java.lang.Object getTarget()
java.lang.reflect.Method getMethod()
java.lang.Object[] getParameters()
java.lang.IllegalStateException - if invoked within
a lifecycle callback method.void setParameters(java.lang.Object[] params)
java.lang.IllegalStateException - if invoked within
a lifecycle callback method.
java.lang.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.java.util.Map<java.lang.String,java.lang.Object> getContextData()
java.lang.Object proceed()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||