Package org.apache.webbeans.intercept
Class AbstractInvocationContext<T>
- java.lang.Object
-
- org.apache.webbeans.intercept.AbstractInvocationContext<T>
-
- All Implemented Interfaces:
javax.interceptor.InvocationContext
- Direct Known Subclasses:
InterceptorInvocationContext
public abstract class AbstractInvocationContext<T> extends Object implements javax.interceptor.InvocationContext
-
-
Field Summary
Fields Modifier and Type Field Description protected Object[]parametersprotected javax.inject.Provider<T>target
-
Constructor Summary
Constructors Constructor Description AbstractInvocationContext(javax.inject.Provider<T> target, AccessibleObject member, Object[] parameters)AbstractInvocationContext(javax.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(javax.inject.Provider<T> target, AccessibleObject member, Object[] parameters)
-
-
Method Detail
-
getTarget
public T getTarget()
- Specified by:
getTargetin interfacejavax.interceptor.InvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejavax.interceptor.InvocationContext
-
getParameters
public Object[] getParameters()
- Specified by:
getParametersin interfacejavax.interceptor.InvocationContext
-
setParameters
public void setParameters(Object[] parameters)
- Specified by:
setParametersin interfacejavax.interceptor.InvocationContext
-
getContextData
public Map<String,Object> getContextData()
- Specified by:
getContextDatain interfacejavax.interceptor.InvocationContext
-
getTimer
public Object getTimer()
- Specified by:
getTimerin interfacejavax.interceptor.InvocationContext
-
proceed
public Object proceed() throws Exception
- Specified by:
proceedin interfacejavax.interceptor.InvocationContext- Throws:
Exception
-
getConstructor
public Constructor getConstructor()
- Specified by:
getConstructorin interfacejavax.interceptor.InvocationContext
-
-