public class AroundInvokeInvocationContext extends CallbackInvocationContext implements InterceptorManager.AroundInvokeContext
Constructor and Description |
---|
AroundInvokeInvocationContext(Object targetObjectInstance,
Object[] interceptorInstances,
InterceptorManager.InterceptorChain chain,
Method m,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
Constructor<?> |
getConstructor() |
Method |
getMethod() |
Object[] |
getParameters() |
Object |
invokeBeanMethod()
Called from Interceptor Chain to invoke the actual bean method.
|
Object |
proceed() |
void |
setParameters(Object[] params) |
getContextData, getInterceptorInstances, getTarget, getTimer, invokeSpecial
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInterceptorInstances
public AroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params)
public Constructor<?> getConstructor()
getConstructor
in interface javax.interceptor.InvocationContext
getConstructor
in class CallbackInvocationContext
public Method getMethod()
getMethod
in interface javax.interceptor.InvocationContext
getMethod
in class CallbackInvocationContext
public Object proceed() throws Exception
proceed
in interface javax.interceptor.InvocationContext
proceed
in class CallbackInvocationContext
Exception
public Object[] getParameters()
getParameters
in interface javax.interceptor.InvocationContext
getParameters
in class CallbackInvocationContext
public void setParameters(Object[] params)
setParameters
in interface javax.interceptor.InvocationContext
setParameters
in class CallbackInvocationContext
public Object invokeBeanMethod() throws Throwable
invokeBeanMethod
in interface InterceptorManager.AroundInvokeContext
Throwable
Copyright © 2019. All rights reserved.