public class RemoteContext extends Object implements Context, NameParser
Modifier and Type | Class and Description |
---|---|
static interface |
RemoteContext.CloseTask |
Modifier and Type | Field and Description |
---|---|
static int |
STATIC_KEEP_ALIVE |
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 |
---|
RemoteContext(Name prefix,
RemoteNamingStore namingStore,
Hashtable<String,Object> environment) |
RemoteContext(Name prefix,
RemoteNamingStore namingStore,
Hashtable<String,Object> environment,
List<RemoteContext.CloseTask> closeTasks) |
RemoteContext(RemoteNamingStore namingStore,
Hashtable<String,Object> environment) |
RemoteContext(RemoteNamingStore namingStore,
Hashtable<String,Object> environment,
List<RemoteContext.CloseTask> closeTasks) |
public RemoteContext(RemoteNamingStore namingStore, Hashtable<String,Object> environment)
public RemoteContext(RemoteNamingStore namingStore, Hashtable<String,Object> environment, List<RemoteContext.CloseTask> closeTasks)
public RemoteContext(Name prefix, RemoteNamingStore namingStore, Hashtable<String,Object> environment)
public RemoteContext(Name prefix, RemoteNamingStore namingStore, Hashtable<String,Object> environment, List<RemoteContext.CloseTask> closeTasks)
public Object lookup(Name name) throws NamingException
lookup
in interface Context
NamingException
public Object lookup(String name) throws NamingException
lookup
in interface Context
NamingException
public void bind(Name name, Object object) throws NamingException
bind
in interface Context
NamingException
public void bind(String name, Object object) throws NamingException
bind
in interface Context
NamingException
public void rebind(Name name, Object object) throws NamingException
rebind
in interface Context
NamingException
public void rebind(String name, Object object) throws NamingException
rebind
in interface Context
NamingException
public void unbind(Name name) throws NamingException
unbind
in interface Context
NamingException
public void unbind(String name) throws NamingException
unbind
in interface Context
NamingException
public void rename(Name name, Name newName) throws NamingException
rename
in interface Context
NamingException
public void rename(String name, String newName) throws NamingException
rename
in interface Context
NamingException
public NamingEnumeration<NameClassPair> list(Name name) throws NamingException
list
in interface Context
NamingException
public NamingEnumeration<NameClassPair> list(String name) throws NamingException
list
in interface Context
NamingException
public NamingEnumeration<Binding> listBindings(Name name) throws NamingException
listBindings
in interface Context
NamingException
public NamingEnumeration<Binding> listBindings(String name) throws NamingException
listBindings
in interface Context
NamingException
public void destroySubcontext(Name name) throws NamingException
destroySubcontext
in interface Context
NamingException
public void destroySubcontext(String name) throws NamingException
destroySubcontext
in interface Context
NamingException
public Context createSubcontext(Name name) throws NamingException
createSubcontext
in interface Context
NamingException
public Context createSubcontext(String name) throws NamingException
createSubcontext
in interface Context
NamingException
public Object lookupLink(Name name) throws NamingException
lookupLink
in interface Context
NamingException
public Object lookupLink(String name) throws NamingException
lookupLink
in interface Context
NamingException
public NameParser getNameParser(Name name) throws NamingException
getNameParser
in interface Context
NamingException
public NameParser getNameParser(String s) throws NamingException
getNameParser
in interface Context
NamingException
public Name composeName(Name name, Name prefix) throws NamingException
composeName
in interface Context
NamingException
public String composeName(String name, String prefix) throws NamingException
composeName
in interface Context
NamingException
public Object addToEnvironment(String s, Object o) throws NamingException
addToEnvironment
in interface Context
NamingException
public Object removeFromEnvironment(String s) throws NamingException
removeFromEnvironment
in interface Context
NamingException
public Hashtable<?,?> getEnvironment() throws NamingException
getEnvironment
in interface Context
NamingException
public void close() throws NamingException
close
in interface Context
NamingException
public String getNameInNamespace() throws NamingException
getNameInNamespace
in interface Context
NamingException
public Name parse(String name) throws NamingException
parse
in interface NameParser
NamingException
Copyright © 2016 JBoss by Red Hat. All rights reserved.