package javax.naming;
import java.util.Hashtable;
public interface Context
{
public static final String INITIAL_CONTEXT_FACTORY
= "java.naming.factory.initial";
public static final String OBJECT_FACTORIES
= "java.naming.factory.object";
public static final String STATE_FACTORIES
= "java.naming.factory.state";
public static final String URL_PKG_PREFIXES
= "java.naming.factory.url.pkgs";
public static final String PROVIDER_URL
= "java.naming.provider.url";
public static final String DNS_URL
= "java.naming.dns.url";
public static final String AUTHORITATIVE
= "java.naming.authoritative";
public static final String BATCHSIZE
= "java.naming.batchsize";
public static final String REFERRAL
= "java.naming.referral";
public static final String SECURITY_PROTOCOL
= "java.naming.security.protocol";
public static final String SECURITY_AUTHENTICATION
= "java.naming.security.authentication";
public static final String SECURITY_PRINCIPAL
= "java.naming.security.principal";
public static final String SECURITY_CREDENTIALS
= "java.naming.security.credentials";
public static final String LANGUAGE
= "java.naming.language";
public static final String APPLET
= "java.naming.applet";
public void bind (Name name, Object obj) throws NamingException;
public void bind (String name, Object obj) throws NamingException;
public Object lookup (Name name) throws NamingException;
public Object lookup (String name) throws NamingException;
public void rebind (Name name, Object obj) throws NamingException;
public void rebind (String name, Object obj) throws NamingException;
public void unbind (Name name) throws NamingException;
public void unbind (String name) throws NamingException;
public void rename (Name oldName, Name newName) throws NamingException;
public void rename (String oldName, String newName) throws NamingException;
public NamingEnumeration list (Name name) throws NamingException;
public NamingEnumeration list (String name) throws NamingException;
public NamingEnumeration listBindings (Name name) throws NamingException;
public NamingEnumeration listBindings (String name) throws NamingException;
public void destroySubcontext (Name name) throws NamingException;
public void destroySubcontext (String name) throws NamingException;
public Context createSubcontext (Name name) throws NamingException;
public Context createSubcontext (String name) throws NamingException;
public Object lookupLink (Name name) throws NamingException;
public Object lookupLink (String name) throws NamingException;
public NameParser getNameParser (Name name) throws NamingException;
public NameParser getNameParser (String name) throws NamingException;
public Name composeName (Name name, Name prefix) throws NamingException;
public String composeName (String name,
String prefix) throws NamingException;
public Object addToEnvironment (String propName,
Object propVal) throws NamingException;
public Object removeFromEnvironment (String propName) throws NamingException;
public Hashtable getEnvironment () throws NamingException;
public void close () throws NamingException;
public String getNameInNamespace () throws NamingException;
}