- java.lang.Object
-
- colesico.framework.service.InvocationContext<T,R>
-
public final class InvocationContext<T,R> extends Object
- Author:
- Vladlen Larionov
-
-
Field Summary
Fields Modifier and Type Field Description static StringGET_METHOD_NAME_METHODstatic StringGET_PARAMETERS_METHODstatic StringGET_SERVICE_METHODstatic StringPROCEED_METHOD
-
Constructor Summary
Constructors Constructor Description InvocationContext(T target, String methodName, Object[] parameters, InterceptorsChain<T,R> interceptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterceptorsChain.InterceptiongetInterception()StringgetMethodName()Executing method nameObject[]getParameters()Method parameters valuesTgetTarget()The target object whose method is executedRproceed()
-
-
-
Field Detail
-
GET_SERVICE_METHOD
public static final String GET_SERVICE_METHOD
- See Also:
- Constant Field Values
-
GET_METHOD_NAME_METHOD
public static final String GET_METHOD_NAME_METHOD
- See Also:
- Constant Field Values
-
GET_PARAMETERS_METHOD
public static final String GET_PARAMETERS_METHOD
- See Also:
- Constant Field Values
-
PROCEED_METHOD
public static final String PROCEED_METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTarget
public T getTarget()
The target object whose method is executed- Returns:
-
getMethodName
public String getMethodName()
Executing method name- Returns:
-
getParameters
public Object[] getParameters()
Method parameters values- Returns:
-
getInterception
public InterceptorsChain.Interception getInterception()
-
proceed
public R proceed()
-
-