Package org.jboss.weld.util
Class ForwardingInvocationContext
- java.lang.Object
-
- org.jboss.weld.util.ForwardingInvocationContext
-
- All Implemented Interfaces:
javax.interceptor.InvocationContext
- Direct Known Subclasses:
WeldInvocationContextImpl
public abstract class ForwardingInvocationContext extends Object implements javax.interceptor.InvocationContext
Forwarding implementation ofInvocationContext.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description ForwardingInvocationContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract javax.interceptor.InvocationContextdelegate()booleanequals(Object obj)Constructor<?>getConstructor()Map<String,Object>getContextData()MethodgetMethod()Object[]getParameters()ObjectgetTarget()ObjectgetTimer()inthashCode()Objectproceed()voidsetParameters(Object[] params)StringtoString()
-
-
-
Method Detail
-
delegate
protected abstract javax.interceptor.InvocationContext delegate()
-
getTarget
public Object getTarget()
- Specified by:
getTargetin interfacejavax.interceptor.InvocationContext
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfacejavax.interceptor.InvocationContext
-
getConstructor
public Constructor<?> getConstructor()
- Specified by:
getConstructorin interfacejavax.interceptor.InvocationContext
-
getParameters
public Object[] getParameters() throws IllegalStateException
- Specified by:
getParametersin interfacejavax.interceptor.InvocationContext- Throws:
IllegalStateException
-
setParameters
public void setParameters(Object[] params) throws IllegalStateException, IllegalArgumentException
- Specified by:
setParametersin interfacejavax.interceptor.InvocationContext- Throws:
IllegalStateExceptionIllegalArgumentException
-
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
-
-