00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 package org.objectweb.jonas_lib.naming;
00024
00025 import javax.naming.Context;
00026 import javax.naming.NamingException;
00027 import java.util.Hashtable;
00028 import javax.naming.InitialContext;
00029
00038 public interface ContainerNaming {
00039
00058 Context createEnvironmentContext(String namespace) throws NamingException;
00059
00080 Context createImmutableEnvironmentContext(String namespace)
00081 throws NamingException;
00082
00089 Context getComponentContext() throws NamingException;
00090
00099 Context setComponentContext(Context ctx);
00100
00106 void setComponentContext(Context ctx, ClassLoader cl);
00107
00112 void setClientContainerComponentContext(Context ctx);
00113
00119 Context getComponentContext(ClassLoader cl);
00120
00125 void unSetComponentContext(ClassLoader cl);
00126
00131 InitialContext getInitialContext();
00132
00136 Hashtable getEnv();
00137 }