Object
|
addToEnvironment(String propName, Object propVal)
Adds a new environment property to the environment of this
context.
|
void
|
bind(Name name, Object obj)
Binds a name to an object.
|
void
|
bind(String name, Object obj)
Binds a name to an object.
|
void
|
close()
Closes this context.
|
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)
Composes the name of this context with a name relative to
this context.
|
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.
|
Context
|
getContinuationContext(Name n)
Gets the context in which to continue the operation.
|
Hashtable
|
getEnvironment()
Retrieves the environment in effect for this context.
|
String
|
getNameInNamespace()
Retrieves the full name of this context within its own 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.
|
abstract
ResolveResult
|
getRootURLContext(String url, Hashtable env)
Resolves 'name' into a target context with remaining name.
|
String
|
getURLPrefix(String url)
Finds the prefix of a URL.
|
Name
|
getURLSuffix(String prefix, String url)
Returns the suffix of the url.
|
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.
|
void
|
rebind(String name, Object obj)
Binds a name to an object, overwriting any existing binding.
|
void
|
rebind(Name name, Object obj)
Binds a name to an object, overwriting any existing binding.
|
Object
|
removeFromEnvironment(String propName)
Removes an environment property from the environment of this
context.
|
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 name, Name newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
void
|
unbind(Name name)
Unbinds the named object.
|
void
|
unbind(String name)
Unbinds the named object.
|
boolean
|
urlEquals(String url1, String url2)
Determines whether two URLs are the same.
|