public class SimpleInvocationContext extends Object implements InvocationContext
InvocationContext implementation whose proceed() invokes the target method directly without calling any interceptors. If this is not
a method interception, a call to proceed() always returns null.| Constructor and Description |
|---|
SimpleInvocationContext(Constructor<?> constructor,
Object[] parameters,
Map<String,Object> contextData) |
SimpleInvocationContext(Object target,
Method targetMethod,
Method proceed,
Object[] parameters) |
| Modifier and Type | Method and Description |
|---|---|
Constructor<?> |
getConstructor() |
Map<String,Object> |
getContextData() |
Method |
getMethod() |
Object[] |
getParameters() |
Object |
getTarget() |
Object |
getTimer() |
Object |
proceed() |
void |
setParameters(Object[] params) |
public SimpleInvocationContext(Object target, Method targetMethod, Method proceed, Object[] parameters)
public SimpleInvocationContext(Constructor<?> constructor, Object[] parameters, Map<String,Object> contextData)
public Map<String,Object> getContextData()
getContextData in interface InvocationContextpublic Method getMethod()
getMethod in interface InvocationContextpublic Object[] getParameters()
getParameters in interface InvocationContextpublic Object getTarget()
getTarget in interface InvocationContextpublic void setParameters(Object[] params)
setParameters in interface InvocationContextpublic Object getTimer()
getTimer in interface InvocationContextpublic Constructor<?> getConstructor()
getConstructor in interface InvocationContextpublic Object proceed() throws Exception
proceed in interface InvocationContextExceptionCopyright © 2015. All Rights Reserved.