static
boolean
|
allEmpty(Name name)
Tests whether a name contains a nonempty component.
|
void
|
bind(Name name, Object newObj)
Binds a name to an object.
|
void
|
bind(String name, Object newObj)
Binds a name to an object.
|
String
|
composeName(String name, String prefix)
Composes the name of this context with a name relative to
this context.
|
Name
|
composeName(Name name, Name prefix)
This default implementation simply concatenates the two names.
|
Context
|
createSubcontext(Name name)
Creates and binds a new context.
|
Context
|
createSubcontext(String name)
Creates and binds a new context.
|
void
|
destroySubcontext(Name name)
Destroys the named context and removes it from the namespace.
|
void
|
destroySubcontext(String name)
Destroys the named context and removes it from the namespace.
|
NameParser
|
getNameParser(Name name)
Retrieves the parser associated with the named context.
|
NameParser
|
getNameParser(String name)
Retrieves the parser associated with the named context.
|
static
PartialCompositeContext
|
getPCContext(Continuation cont)
Retrieves a PartialCompositeContext for the resolved object in
cont.
|
NamingEnumeration<NameClassPair>
|
list(String name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
NamingEnumeration<NameClassPair>
|
list(Name name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
NamingEnumeration<Binding>
|
listBindings(Name name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
NamingEnumeration<Binding>
|
listBindings(String name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
Object
|
lookup(String name)
Retrieves the named object.
|
Object
|
lookup(Name name)
Retrieves the named object.
|
Object
|
lookupLink(String name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
Object
|
lookupLink(Name name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
abstract
void
|
p_bind(Name name, Object obj, Continuation cont)
|
abstract
Context
|
p_createSubcontext(Name name, Continuation cont)
|
abstract
void
|
p_destroySubcontext(Name name, Continuation cont)
|
Hashtable
|
p_getEnvironment()
A cheap way of getting the environment.
|
abstract
NameParser
|
p_getNameParser(Name name, Continuation cont)
|
abstract
NamingEnumeration
|
p_list(Name name, Continuation cont)
|
abstract
NamingEnumeration
|
p_listBindings(Name name, Continuation cont)
|
abstract
Object
|
p_lookup(Name name, Continuation cont)
|
abstract
Object
|
p_lookupLink(Name name, Continuation cont)
|
abstract
void
|
p_rebind(Name name, Object obj, Continuation cont)
|
abstract
void
|
p_rename(Name oldname, Name newname, Continuation cont)
|
abstract
ResolveResult
|
p_resolveToClass(Name name, Class contextType, Continuation cont)
|
abstract
void
|
p_unbind(Name name, Continuation cont)
|
void
|
rebind(String name, Object newObj)
Binds a name to an object, overwriting any existing binding.
|
void
|
rebind(Name name, Object newObj)
Binds a name to an object, overwriting any existing binding.
|
void
|
rename(String oldName, String newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
void
|
rename(Name oldName, Name newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
ResolveResult
|
resolveToClass(Name name, Class<? extends Context> contextType)
Partially resolves a name.
|
ResolveResult
|
resolveToClass(String name, Class<? extends Context> contextType)
Partially resolves a name.
|
void
|
unbind(Name name)
Unbinds the named object.
|
void
|
unbind(String name)
Unbinds the named object.
|