Class AroundInvokeInvocationContext
- java.lang.Object
-
- com.sun.ejb.containers.interceptors.CallbackInvocationContext
-
- com.sun.ejb.containers.interceptors.AroundInvokeInvocationContext
-
- All Implemented Interfaces:
InterceptorManager.AroundInvokeContext,jakarta.interceptor.InvocationContext
public class AroundInvokeInvocationContext extends CallbackInvocationContext implements InterceptorManager.AroundInvokeContext
Concrete InvocationContext implementation passed to callback methods defined in interceptor classes.
-
-
Constructor Summary
Constructors Constructor Description AroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<?>getConstructor()MethodgetMethod()Object[]getParameters()ObjectinvokeBeanMethod()Called from Interceptor Chain to invoke the actual bean method.Objectproceed()voidsetParameters(Object[] params)-
Methods inherited from class com.sun.ejb.containers.interceptors.CallbackInvocationContext
getContextData, getInterceptorInstances, getTarget, getTimer, invokeSpecial
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.ejb.containers.interceptors.InterceptorManager.AroundInvokeContext
getInterceptorInstances
-
-
-
-
Constructor Detail
-
AroundInvokeInvocationContext
public AroundInvokeInvocationContext(Object targetObjectInstance, Object[] interceptorInstances, InterceptorManager.InterceptorChain chain, Method m, Object[] params)
-
-
Method Detail
-
getConstructor
public Constructor<?> getConstructor()
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext- Overrides:
getConstructorin classCallbackInvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext- Overrides:
getMethodin classCallbackInvocationContext
-
proceed
public Object proceed() throws Exception
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Overrides:
proceedin classCallbackInvocationContext- Throws:
Exception
-
getParameters
public Object[] getParameters()
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext- Overrides:
getParametersin classCallbackInvocationContext
-
setParameters
public void setParameters(Object[] params)
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext- Overrides:
setParametersin classCallbackInvocationContext
-
invokeBeanMethod
public Object invokeBeanMethod() throws Throwable
Called from Interceptor Chain to invoke the actual bean method. This method must throw any exception from the bean method *as is*, without being wrapped in an InvocationTargetException. The exception thrown from this method will be propagated through the application's interceptor code, so it must not be changed in order for any exception handling logic in that code to function properly.- Specified by:
invokeBeanMethodin interfaceInterceptorManager.AroundInvokeContext- Throws:
Throwable
-
-