public class SimpleContext extends Object implements Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES| Constructor and Description |
|---|
SimpleContext() |
protected String nameToString(Name name) throws NamingException
NamingExceptionpublic Object lookup(Name name) throws NamingException
lookup in interface ContextNamingExceptionpublic Object lookup(String name) throws NamingException
lookup in interface ContextNamingExceptionpublic void bind(Name name, Object value) throws NamingException
bind in interface ContextNamingExceptionpublic void bind(String name, Object value) throws NamingException
bind in interface ContextNamingExceptionprotected void bind(String name, Object value, boolean checkIfExists) throws NamingException
NamingExceptionprotected void bindRefValue(String name, Object value) throws NamingException
NamingExceptionpublic void rebind(Name name, Object value) throws NamingException
rebind in interface ContextNamingExceptionpublic void rebind(String name, Object value) throws NamingException
rebind in interface ContextNamingExceptionpublic void unbind(Name name) throws NamingException
unbind in interface ContextNamingExceptionpublic void unbind(String name) throws NamingException
unbind in interface ContextNamingExceptionpublic void rename(Name name1, Name name2) throws NamingException
rename in interface ContextNamingExceptionpublic void rename(String name1, String name2) throws NamingException
rename in interface ContextNamingExceptionpublic NamingEnumeration<NameClassPair> list(Name name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration<NameClassPair> list(String name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration<Binding> listBindings(Name name) throws NamingException
listBindings in interface ContextNamingExceptionpublic NamingEnumeration<Binding> listBindings(String name) throws NamingException
listBindings in interface ContextNamingExceptionpublic void destroySubcontext(Name name) throws NamingException
destroySubcontext in interface ContextNamingExceptionpublic void destroySubcontext(String name) throws NamingException
destroySubcontext in interface ContextNamingExceptionpublic Context createSubcontext(Name name) throws NamingException
createSubcontext in interface ContextNamingExceptionpublic Context createSubcontext(String name) throws NamingException
createSubcontext in interface ContextNamingExceptionpublic Object lookupLink(Name name) throws NamingException
lookupLink in interface ContextNamingExceptionpublic Object lookupLink(String name) throws NamingException
lookupLink in interface ContextNamingExceptionpublic NameParser getNameParser(Name name) throws NamingException
getNameParser in interface ContextNamingExceptionpublic NameParser getNameParser(String name) throws NamingException
getNameParser in interface ContextNamingExceptionpublic Name composeName(Name nam1, Name name2) throws NamingException
composeName in interface ContextNamingExceptionpublic String composeName(String name1, String name2) throws NamingException
composeName in interface ContextNamingExceptionpublic Object addToEnvironment(String name1, Object name2) throws NamingException
addToEnvironment in interface ContextNamingExceptionpublic Object removeFromEnvironment(String name) throws NamingException
removeFromEnvironment in interface ContextNamingExceptionpublic Hashtable<?,?> getEnvironment() throws NamingException
getEnvironment in interface ContextNamingExceptionprotected Hashtable<?,?> getInternalEnv()
protected Object getMutex()
public void close()
throws NamingException
close in interface ContextNamingExceptionpublic String getNameInNamespace() throws NamingException
getNameInNamespace in interface ContextNamingExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.