cuba
Class MethodInvocation
java.lang.Object
cuba.Invocation
cuba.MethodInvocation
- All Implemented Interfaces:
- InvocationContextI
public class MethodInvocation
- extends Invocation
- implements InvocationContextI
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
core
protected java.lang.Object core
coreMethod
protected java.lang.reflect.Method coreMethod
componentContext
protected AbstractComponentContext componentContext
currentParameters
protected java.lang.Object[] currentParameters
contextData
protected java.util.HashMap contextData
commonInterceptors
protected AroundInvocation commonInterceptors
currentInterceptor
protected AroundInvocation currentInterceptor
MethodInvocation
public MethodInvocation(java.lang.Object core,
AbstractComponentContext componentContext)
getTarget
public java.lang.Object getTarget()
- Specified by:
getTarget
in interface InvocationContextI
getComponentContext
public ComponentContextI getComponentContext()
- Specified by:
getComponentContext
in interface InvocationContextI
getContextData
public java.util.Map getContextData()
- Specified by:
getContextData
in interface InvocationContextI
getMethod
public java.lang.reflect.Method getMethod()
- Specified by:
getMethod
in interface InvocationContextI
getParameters
public java.lang.Object[] getParameters()
- Specified by:
getParameters
in interface InvocationContextI
setParameters
public void setParameters(java.lang.Object[] params)
- Specified by:
setParameters
in interface InvocationContextI
proceed
public java.lang.Object proceed()
throws java.lang.Exception
- Specified by:
proceed
in interface InvocationContextI
- Throws:
java.lang.Exception
invoke
public java.lang.Object invoke(java.lang.reflect.Method coreMethod,
java.lang.Object[] params,
AroundInvocation commonInterceptors)
throws java.lang.Exception
- Throws:
java.lang.Exception
invoke
public java.lang.Object invoke(java.lang.reflect.Method coreMethod,
java.lang.Object[] params,
AroundInvocation privateInterceptors,
AroundInvocation commonInterceptors)
throws java.lang.Exception
- Throws:
java.lang.Exception