public class InvocationContextImpl extends Object implements javax.interceptor.InvocationContext
InvocationContext interface.| Constructor and Description |
|---|
InvocationContextImpl(WebBeansContext webBeansContext,
OwbBean<?> bean,
Object instance,
Method method,
Object[] parameters,
List<InterceptorData> datas,
javax.enterprise.inject.spi.InterceptionType type)
Initializes the invocation context.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getContextData() |
Method |
getMethod() |
Object[] |
getParameters() |
Object |
getTarget() |
Object |
getTimer() |
Object |
proceed() |
void |
setCcKey(Object ccKey)
Sets the alternate key (alternate owner instance) to be used within
the passed CreationalContext for dependent interceptors.
|
void |
setCreationalContext(javax.enterprise.context.spi.CreationalContext<?> ownerCreationalContext)
Sets owner bean creational context.
|
void |
setEJBInvocationContext(javax.interceptor.InvocationContext c)
Sets EJB invocation context
|
void |
setParameters(Object[] params) |
public InvocationContextImpl(WebBeansContext webBeansContext, OwbBean<?> bean, Object instance, Method method, Object[] parameters, List<InterceptorData> datas, javax.enterprise.inject.spi.InterceptionType type)
bean - the Bean meta infoinstance - target objectmethod - methodparameters - method parametersdatas - interceptor stacktype - interceptor typepublic void setCreationalContext(javax.enterprise.context.spi.CreationalContext<?> ownerCreationalContext)
ownerCreationalContext - owner creational contextpublic void setEJBInvocationContext(javax.interceptor.InvocationContext c)
c - EJB containers invocation contextpublic Map<String,Object> getContextData()
getContextData in interface javax.interceptor.InvocationContextpublic Method getMethod()
getMethod in interface javax.interceptor.InvocationContextpublic Object[] getParameters()
getParameters in interface javax.interceptor.InvocationContextpublic Object getTarget()
getTarget in interface javax.interceptor.InvocationContextpublic Object proceed() throws Exception
proceed in interface javax.interceptor.InvocationContextExceptionpublic void setParameters(Object[] params)
setParameters in interface javax.interceptor.InvocationContextpublic Object getTimer()
getTimer in interface javax.interceptor.InvocationContextpublic void setCcKey(Object ccKey)
ccKey - a unique key used to index dependent interceptorsCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.