|
|||||||||
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.JettyENCInterceptor
public class JettyENCInterceptor
Interceptor used when EasyBeans is integrated in Jetty. As the java: namespace is managed by Jetty, EasyBeans needs to call Jetty objects in order to set java: context. But in Jetty, only java:comp can be configured. (comp is managed by a Factory class)
Field Summary | |
---|---|
protected static java.lang.String |
JETTY_CONTEXT_FACTORY_CLASS
Jetty's class for naming. |
private static java.lang.reflect.Method |
resetComponentContextMethod
Method used to reset the component context on the Jetty context factory. |
private static java.lang.reflect.Method |
setComponentContextMethod
Method used to set the component context on the Jetty context factory. |
Constructor Summary | |
---|---|
JettyENCInterceptor()
Default constructor. |
Method Summary | |
---|---|
java.lang.Object |
intercept(EasyBeansInvocationContext invocationContext)
Sets Jetty 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 JETTY_CONTEXT_FACTORY_CLASS
private static java.lang.reflect.Method setComponentContextMethod
private static java.lang.reflect.Method resetComponentContextMethod
Constructor Detail |
---|
public JettyENCInterceptor()
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 |