Package org.apache.webbeans.intercept
Class AbstractInvocationContext<T>
- java.lang.Object
-
- org.apache.webbeans.intercept.AbstractInvocationContext<T>
-
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
- Direct Known Subclasses:
InterceptorInvocationContext
public abstract class AbstractInvocationContext<T> extends Object implements jakarta.interceptor.InvocationContext
-
-
Field Summary
Fields Modifier and Type Field Description protected Object[]parametersprotected jakarta.inject.Provider<T>target
-
Constructor Summary
Constructors Constructor Description AbstractInvocationContext(jakarta.inject.Provider<T> target, AccessibleObject member, Object[] parameters)AbstractInvocationContext(jakarta.inject.Provider<T> target, Method method, Object[] parameters, Object timer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdirectProceed()ConstructorgetConstructor()Map<String,Object>getContextData()MethodgetMethod()Object[]getParameters()TgetTarget()ObjectgetTimer()Objectproceed()voidsetParameters(Object[] parameters)
-
-
-
Constructor Detail
-
AbstractInvocationContext
public AbstractInvocationContext(jakarta.inject.Provider<T> target, AccessibleObject member, Object[] parameters)
-
-
Method Detail
-
getTarget
public T getTarget()
- Specified by:
getTargetin interfacejakarta.interceptor.InvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejakarta.interceptor.InvocationContext
-
getParameters
public Object[] getParameters()
- Specified by:
getParametersin interfacejakarta.interceptor.InvocationContext
-
setParameters
public void setParameters(Object[] parameters)
- Specified by:
setParametersin interfacejakarta.interceptor.InvocationContext
-
getContextData
public Map<String,Object> getContextData()
- Specified by:
getContextDatain interfacejakarta.interceptor.InvocationContext
-
getTimer
public Object getTimer()
- Specified by:
getTimerin interfacejakarta.interceptor.InvocationContext
-
proceed
public Object proceed() throws Exception
- Specified by:
proceedin interfacejakarta.interceptor.InvocationContext- Throws:
Exception
-
getConstructor
public Constructor getConstructor()
- Specified by:
getConstructorin interfacejakarta.interceptor.InvocationContext
-
-