| java.lang.Object org.ow2.easybeans.naming.interceptors.ENCManager
ENCManager | final public class ENCManager (Code) | | Detects the server type and return the correct interceptor to use depending
of the application server. It could be EasyBeans, JOnAS or Tomcat.
author: Florent Benoit |
getInterceptorClass | public static Class<? extends NamingInterceptor> getInterceptorClass()(Code) | | the class to use depending of the application server. |
initContext | public static void initContext(Factory factory, Context context)(Code) | | Init the context for the given factory.
Parameters: factory - the given factory Parameters: context - the context associated to the container URL. |
removeContext | public static void removeContext(Factory factory)(Code) | | Remove the context associated to a factory.
Parameters: factory - the given factory |
setInterceptorClass | public static void setInterceptorClass(Class<? extends NamingInterceptor> userEncInterceptor)(Code) | | Sets the ENC interceptor to use for the naming.
Parameters: userEncInterceptor - the interceptor class. |
|
|