| Modifier and Type | Field and Description |
|---|---|
private NamingConnection |
connection |
private CompositeName |
contextPath |
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| Modifier | Constructor and Description |
|---|---|
protected |
NamingContextImpl()
Empty constructor, called by the subclass.
|
|
NamingContextImpl(NamingConnection connection,
CompositeName contextPath) |
private NamingConnection connection
private CompositeName contextPath
public NamingContextImpl(NamingConnection connection, CompositeName contextPath)
protected NamingContextImpl()
public void bind(Name name, Object obj) throws NamingException
bind in interface ContextNamingExceptionpublic void bind(String name, Object obj) throws NamingException
bind in interface ContextNamingExceptionpublic void rebind(Name name, Object obj) throws NamingException
rebind in interface ContextNamingExceptionpublic void rebind(String name, Object obj) throws NamingException
rebind in interface ContextNamingExceptionpublic Object lookup(Name name) throws NamingException
lookup in interface ContextNamingExceptionpublic Object lookup(String name) throws NamingException
lookup in interface ContextNamingExceptionpublic void unbind(Name name) throws NamingException
unbind in interface ContextNamingExceptionpublic void unbind(String name) throws NamingException
unbind in interface ContextNamingExceptionpublic void close()
throws NamingException
close in interface ContextNamingExceptionprotected void finalize()
throws Throwable
public Hashtable getEnvironment() throws NamingException
getEnvironment in interface ContextNamingExceptionpublic NamingEnumeration list(Name name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration list(String name) throws NamingException
list in interface ContextNamingExceptionpublic NamingEnumeration listBindings(Name name) throws NamingException
listBindings in interface ContextNamingExceptionpublic NamingEnumeration listBindings(String name) throws NamingException
listBindings in interface ContextNamingExceptionpublic Context createSubcontext(Name name) throws NamingException
createSubcontext in interface ContextNamingExceptionpublic Context createSubcontext(String name) throws NamingException
createSubcontext in interface ContextNamingExceptionpublic void destroySubcontext(Name name) throws NamingException
destroySubcontext in interface ContextNamingExceptionpublic void destroySubcontext(String name) throws NamingException
destroySubcontext in interface ContextNamingExceptionpublic String getNameInNamespace() throws NamingException
getNameInNamespace in interface ContextNamingExceptionpublic Object addToEnvironment(Name propName, Object propVal) throws NamingException
propName - propVal - NamingExceptionpublic Object addToEnvironment(String propName, Object propVal) throws NamingException
addToEnvironment in interface ContextNamingExceptionpublic Name composeName(Name name, Name prefix) throws NamingException
composeName in interface ContextNamingExceptionpublic String composeName(String name, String prefix) throws NamingException
composeName in interface ContextNamingExceptionpublic NameParser getNameParser(Name name) throws NamingException
getNameParser in interface ContextNamingExceptionpublic NameParser getNameParser(String name) throws NamingException
getNameParser in interface ContextNamingExceptionpublic Object lookupLink(Name name) throws NamingException
lookupLink in interface ContextNamingExceptionpublic Object lookupLink(String name) throws NamingException
lookupLink in interface ContextNamingExceptionpublic Object removeFromEnvironment(String propName) throws NamingException
removeFromEnvironment in interface ContextNamingExceptionpublic void rename(Name oldName, Name newName) throws NamingException
rename in interface ContextNamingExceptionpublic void rename(String oldName, String newName) throws NamingException
rename in interface ContextNamingExceptionprivate static CompositeName merge(CompositeName path, String name) throws NamingException
NamingExceptionprivate static CompositeName trim(CompositeName name) throws NamingException
NamingExceptionCopyright © 2016 ScalAgent D.T.. All Rights Reserved.