|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.standalone.ri.naming.StandaloneContext
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public class StandaloneContext
extends Object
implements Context
Standalone Context implementation.
Specifications
'javax.naming.Context' (javax.naming.Context) Multiton
| Modifier and Type | Field and Description |
|---|
| Fields inherited from interface javax.naming.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 |
|---|
StandaloneContext()
Creates a new StandaloneContext instance. |
StandaloneContext(Map<Name,Object> objectMap)
Creates a new StandaloneContext taking a map backing the instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandaloneContext(Map<Name,Object> objectMap)
StandaloneContext taking a map backing the instance.
objectMap - The map backing the instance.
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public StandaloneContext()
StandaloneContext instance.
| Method Detail |
|---|
public Object lookup(Name name)
throws NamingException
lookup in interface ContextNamingException
public Object lookup(String name)
throws NamingException
lookup in interface ContextNamingException
public void bind(Name name,
Object obj)
throws NamingException
bind in interface ContextNamingException
public void bind(String name,
Object obj)
throws NamingException
bind in interface ContextNamingException
public void rebind(Name name,
Object obj)
throws NamingException
rebind in interface ContextNamingException
public void rebind(String name,
Object obj)
throws NamingException
rebind in interface ContextNamingException
public void unbind(Name name)
throws NamingException
unbind in interface ContextNamingException
public void unbind(String name)
throws NamingException
unbind in interface ContextNamingException
public void rename(Name oldName,
Name newName)
throws NamingException
rename in interface ContextNamingException
public void rename(String oldName,
String newName)
throws NamingException
rename in interface ContextNamingException
public NamingEnumeration<NameClassPair> list(Name name)
throws NamingException
list in interface ContextNamingException
public NamingEnumeration<NameClassPair> list(String name)
throws NamingException
list in interface ContextNamingException
public NamingEnumeration<Binding> listBindings(Name name)
throws NamingException
listBindings in interface ContextNamingException
public NamingEnumeration<Binding> listBindings(String name)
throws NamingException
listBindings in interface ContextNamingException
public void destroySubcontext(Name name)
throws NamingException
destroySubcontext in interface ContextNamingException
public void destroySubcontext(String name)
throws NamingException
destroySubcontext in interface ContextNamingException
public Context createSubcontext(Name name)
throws NamingException
createSubcontext in interface ContextNamingException
public Context createSubcontext(String name)
throws NamingException
createSubcontext in interface ContextNamingException
public Object lookupLink(Name name)
throws NamingException
lookupLink in interface ContextNamingException
public Object lookupLink(String name)
throws NamingException
lookupLink in interface ContextNamingException
public NameParser getNameParser(Name name)
throws NamingException
getNameParser in interface ContextNamingException
public NameParser getNameParser(String name)
throws NamingException
getNameParser in interface ContextNamingException
public Name composeName(Name name,
Name prefix)
throws NamingException
composeName in interface ContextNamingException
public String composeName(String name,
String prefix)
throws NamingException
composeName in interface ContextNamingException
public Object addToEnvironment(String propName,
Object propVal)
throws NamingException
addToEnvironment in interface ContextNamingException
public Object removeFromEnvironment(String propName)
throws NamingException
removeFromEnvironment in interface ContextNamingException
public Hashtable getEnvironment()
throws NamingException
getEnvironment in interface ContextNamingException
public void close()
throws NamingException
close in interface ContextNamingException
public String getNameInNamespace()
throws NamingException
getNameInNamespace in interface ContextNamingExceptionprotected Map<Name,Object> getObjectMap()
protected Map<Name,Context> getContextMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||