|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationContext
Context that is given to all interceptors (business or lifecycle) and that allow to get information on the current invocation.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContextData()
|
java.lang.reflect.Method |
getMethod()
|
java.lang.Object[] |
getParameters()
|
java.lang.Object |
getTarget()
|
java.lang.Object |
proceed()
Call the next interceptor in the chain (and at the end it is the intercepted method that is called). |
void |
setParameters(java.lang.Object[] params)
Sets the parameters of the method that is intercepted. |
Method Detail |
---|
java.lang.Object getTarget()
java.lang.reflect.Method getMethod()
java.lang.Object[] getParameters()
void setParameters(java.lang.Object[] params)
params
- the array of parameters.java.util.Map<java.lang.String,java.lang.Object> getContextData()
java.lang.Object proceed() throws java.lang.Exception
java.lang.Exception
- if method invocation fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |