| |
|
| java.lang.Object org.ow2.easybeans.naming.interceptors.TomcatENCInterceptor
TomcatENCInterceptor | public class TomcatENCInterceptor implements NamingInterceptor(Code) | | Interceptor used when EasyBeans is integrated in Tomcat. As the java:
namespace is managed by Tomcat, EasyBeans needs to call Tomcat objects in
order to set java: context.
author: Florent Benoit |
TOMCAT_NAMING_CLASS | final protected static String TOMCAT_NAMING_CLASS(Code) | | Tomcat's class for naming.
|
TomcatENCInterceptor | public TomcatENCInterceptor()(Code) | | Default constructor. Gets a reference on the tomcat's naming methods
|
initContext | public void initContext(String id, Context context)(Code) | | Init the context for the given name.
Parameters: id - the id. Parameters: context - the context associated to a factory's id. |
intercept | public Object intercept(EasyBeansInvocationContext invocationContext) throws Exception(Code) | | Sets JOnAS ENC context.
Parameters: invocationContext - context with useful attributes on the currentinvocation. result of the next invocation (to chain interceptors). throws: Exception - needs for signature of interceptor. |
removeContext | public void removeContext(String id)(Code) | | Remove the context associated to a given id.
Parameters: id - the id. |
|
|
|