|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.intercept.InvocationContextImpl
public class InvocationContextImpl
Implementation of the InvocationContext interface.
| Constructor Summary | |
|---|---|
InvocationContextImpl(WebBeansContext webBeansContext,
OwbBean<?> bean,
Object instance,
Method method,
Object[] parameters,
List<InterceptorData> datas,
InterceptorType type)
Initializes the invocation context. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvocationContextImpl(WebBeansContext webBeansContext,
OwbBean<?> bean,
Object instance,
Method method,
Object[] parameters,
List<InterceptorData> datas,
InterceptorType type)
bean - the Bean meta infoinstance - target objectmethod - methodparameters - method parametersdatas - interceptor stacktype - interceptor type| Method Detail |
|---|
public 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.InvocationContext
public 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 interceptors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||