|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.naming.interceptors.AbsENCInterceptor
org.objectweb.easybeans.naming.interceptors.JOnASENCInterceptor
public class JOnASENCInterceptor
Interceptor used when EasyBeans is integrated in JOnAS. As the java: namespace is managed by JOnAS, EasyBeans needs to call JOnAS objects to set java: context.
Field Summary | |
---|---|
protected static java.lang.String |
JONAS_NAMING_MANAGER_CLASS
JOnAS's class for naming. |
private static java.lang.Object |
jonasNamingManager
Reference on the JOnAS naming manager. |
private static java.lang.reflect.Method |
resetComponentContextMethod
Method used to reset the component context on the JOnAS naming manager. |
private static java.lang.reflect.Method |
setComponentContextMethod
Method used to set the component context on the JOnAS naming manager. |
Constructor Summary | |
---|---|
JOnASENCInterceptor()
Default constructor. |
Method Summary | |
---|---|
java.lang.Object |
intercept(EasyBeansInvocationContext invocationContext)
Sets JOnAS ENC context. |
Methods inherited from class org.objectweb.easybeans.naming.interceptors.AbsENCInterceptor |
---|
initContext, removeContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.easybeans.api.naming.NamingInterceptor |
---|
initContext, removeContext |
Field Detail |
---|
protected static final java.lang.String JONAS_NAMING_MANAGER_CLASS
private static java.lang.Object jonasNamingManager
private static java.lang.reflect.Method setComponentContextMethod
private static java.lang.reflect.Method resetComponentContextMethod
Constructor Detail |
---|
public JOnASENCInterceptor()
Method Detail |
---|
public java.lang.Object intercept(EasyBeansInvocationContext invocationContext) throws java.lang.Exception
intercept
in interface EasyBeansInterceptor
intercept
in class AbsENCInterceptor
invocationContext
- context with useful attributes on the current
invocation.
java.lang.Exception
- needs for signature of interceptor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |