1 23 package org.objectweb.jonas_lib.naming; 24 25 import javax.naming.Context ; 26 import javax.naming.NamingException ; 27 import java.util.Hashtable ; 28 import javax.naming.InitialContext ; 29 30 38 public interface ContainerNaming { 39 40 58 Context createEnvironmentContext(String namespace) throws NamingException ; 59 60 80 Context createImmutableEnvironmentContext(String namespace) 81 throws NamingException ; 82 83 89 Context getComponentContext() throws NamingException ; 90 91 99 Context setComponentContext(Context ctx); 100 101 106 void resetComponentContext(Context ctx); 107 108 113 void setComponentContext(Context ctx, ClassLoader cl); 114 115 119 void setClientContainerComponentContext(Context ctx); 120 121 126 Context getComponentContext(ClassLoader cl); 127 128 132 void unSetComponentContext(ClassLoader cl); 133 134 138 InitialContext getInitialContext(); 139 140 143 Hashtable getEnv(); 144 } 145 | Popular Tags |