Package org.apache.webbeans.component
Class InterceptorBean.MultiMethodInvocationContext
java.lang.Object
org.apache.webbeans.component.InterceptorBean.MultiMethodInvocationContext
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
- Enclosing class:
- InterceptorBean<T>
public static class InterceptorBean.MultiMethodInvocationContext
extends Object
implements jakarta.interceptor.InvocationContext
An InvocationContext wraper for handling multiple interceptor methods.
We will first make sure the own interceptor methods get handled and only
then continue with the wrapped InvocationHandler.
-
Constructor Summary
ConstructorsConstructorDescriptionMultiMethodInvocationContext(jakarta.interceptor.InvocationContext wrapped, jakarta.enterprise.inject.spi.InterceptionType interceptionType, Object instance, jakarta.enterprise.inject.spi.Interceptor interceptor) -
Method Summary
Modifier and TypeMethodDescriptionConstructor<?>intObject[]getTimer()jakarta.interceptor.InvocationContextproceed()voidsetParameters(Object[] parameters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.interceptor.InvocationContext
getInterceptorBinding, getInterceptorBindings
-
Constructor Details
-
MultiMethodInvocationContext
public MultiMethodInvocationContext(jakarta.interceptor.InvocationContext wrapped, jakarta.enterprise.inject.spi.InterceptionType interceptionType, Object instance, jakarta.enterprise.inject.spi.Interceptor interceptor)
-
-
Method Details
-
getCurrentInterceptorIdx
public int getCurrentInterceptorIdx() -
getWrapped
public jakarta.interceptor.InvocationContext getWrapped() -
proceed
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Throws:
Exception
-
getContextData
- Specified by:
getContextDatain interfacejakarta.interceptor.InvocationContext
-
getMethod
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext
-
getTarget
- Specified by:
getTargetin interfacejakarta.interceptor.InvocationContext
-
getTimer
- Specified by:
getTimerin interfacejakarta.interceptor.InvocationContext
-
getParameters
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext
-
setParameters
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext
-
getConstructor
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext
-
getInterceptorBindings
- Specified by:
getInterceptorBindingsin interfacejakarta.interceptor.InvocationContext
-