|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.naming.interceptors.ENCManager
public final class ENCManager
Detects the server type and return the correct interceptor to use depending of the application server. It could be EasyBeans, JOnAS or Tomcat.
Field Summary | |
---|---|
private static java.lang.Class<? extends NamingInterceptor> |
encInterceptor
Class used for the interceptor. |
private static JLog |
logger
Logger. |
Constructor Summary | |
---|---|
private |
ENCManager()
No public constructor (utility class). |
Method Summary | |
---|---|
static java.lang.Class |
getInterceptorClass()
|
static void |
initContext(Factory factory,
javax.naming.Context context)
Init the context for the given factory. |
static void |
removeContext(Factory factory)
Remove the context associated to a factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static JLog logger
private static java.lang.Class<? extends NamingInterceptor> encInterceptor
Constructor Detail |
---|
private ENCManager()
Method Detail |
---|
public static java.lang.Class getInterceptorClass()
public static void initContext(Factory factory, javax.naming.Context context)
factory
- the given factorycontext
- the context associated to the container URL.public static void removeContext(Factory factory)
factory
- the given factory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |