Package org.jboss.invocation
Class DelegatingInvocationContext
- java.lang.Object
-
- org.jboss.invocation.DelegatingInvocationContext
-
- All Implemented Interfaces:
jakarta.interceptor.InvocationContext
public class DelegatingInvocationContext extends Object implements jakarta.interceptor.InvocationContext
An invocation context which simply delegates to another invocation context.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description DelegatingInvocationContext(jakarta.interceptor.InvocationContext delegate)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<?>getConstructor()Map<String,Object>getContextData()MethodgetMethod()Object[]getParameters()ObjectgetTarget()ObjectgetTimer()Objectproceed()voidsetParameters(Object[] params)
-
-
-
Method Detail
-
getTarget
public Object 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[] params)
- 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
-
-