|
||||||||||
| 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,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
java.util.List<InterceptorData> datas,
InterceptorType type)
Initializes the invocation context. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getContextData()
|
java.lang.reflect.Method |
getMethod()
|
java.lang.Object[] |
getParameters()
|
java.lang.Object |
getTarget()
|
java.lang.Object |
getTimer()
|
java.lang.Object |
proceed()
|
void |
setCcKey(java.lang.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(java.lang.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,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
java.util.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 java.util.Map<java.lang.String,java.lang.Object> getContextData()
getContextData in interface javax.interceptor.InvocationContextpublic java.lang.reflect.Method getMethod()
getMethod in interface javax.interceptor.InvocationContextpublic java.lang.Object[] getParameters()
getParameters in interface javax.interceptor.InvocationContextpublic java.lang.Object getTarget()
getTarget in interface javax.interceptor.InvocationContext
public java.lang.Object proceed()
throws java.lang.Exception
proceed in interface javax.interceptor.InvocationContextjava.lang.Exceptionpublic void setParameters(java.lang.Object[] params)
setParameters in interface javax.interceptor.InvocationContextpublic java.lang.Object getTimer()
getTimer in interface javax.interceptor.InvocationContextpublic void setCcKey(java.lang.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 | |||||||||