ContainerNaming.java

00001 /*
00002  * Enhydra Java Application Server Project
00003  *
00004  * The contents of this file are subject to the Enhydra Public License
00005  * Version 1.1 (the "License"); you may not use this file except in
00006  * compliance with the License. You may obtain a copy of the License on
00007  * the Enhydra web site ( http://www.enhydra.org/ ).
00008  *
00009  * Software distributed under the License is distributed on an "AS IS"
00010  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00011  * the License for the specific terms governing rights and limitations
00012  * under the License.
00013  *
00014  * The Initial Developer of the Enhydra Application Server is Lutris
00015  * Technologies, Inc. The Enhydra Application Server and portions created
00016  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
00017  * All Rights Reserved.
00018  *
00019  * Contributor(s):
00020  *
00021  * $Id: ContainerNaming.java,v 1.6 2003/12/10 15:18:54 benoitf Exp $
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 }

Generated on Tue Feb 15 15:05:56 2005 for JOnAS by  doxygen 1.3.9.1