Example usage for Java javax.naming Context fields, constructors, methods, implement or subclass
The text is from its open source code.
String | INITIAL_CONTEXT_FACTORY Constant that holds the name of the environment property for specifying the initial context factory to use. |
String | OBJECT_FACTORIES Constant that holds the name of the environment property for specifying the list of object factories to use. |
String | STATE_FACTORIES Constant that holds the name of the environment property for specifying the list of state factories to use. |
String | URL_PKG_PREFIXES Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories. |
String | PROVIDER_URL Constant that holds the name of the environment property for specifying configuration information for the service provider to use. |
String | DNS_URL Constant that holds the name of the environment property for specifying the DNS host and domain names to use for the JNDI URL context (for example, "dns://somehost/wiz.com"). |
String | AUTHORITATIVE Constant that holds the name of the environment property for specifying the authoritativeness of the service requested. |
String | BATCHSIZE Constant that holds the name of the environment property for specifying the batch size to use when returning data via the service's protocol. |
String | REFERRAL Constant that holds the name of the environment property for specifying how referrals encountered by the service provider are to be processed. |
String | SECURITY_PROTOCOL Constant that holds the name of the environment property for specifying the security protocol to use. |
String | SECURITY_AUTHENTICATION Constant that holds the name of the environment property for specifying the security level to use. |
String | SECURITY_PRINCIPAL Constant that holds the name of the environment property for specifying the identity of the principal for authenticating the caller to the service. |
String | SECURITY_CREDENTIALS Constant that holds the name of the environment property for specifying the credentials of the principal for authenticating the caller to the service. |
String | LANGUAGE Constant that holds the name of the environment property for specifying the preferred language to use with the service. |
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. |
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. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Class> | getClass() Returns the runtime class of this Object . |
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. |
int | hashCode() Returns a hash code value for the object. |
NamingEnumeration | list(Name name) Enumerates the names bound in the named context, along with the class names of objects bound to them. |
NamingEnumeration | list(String name) Enumerates the names bound in the named context, along with the class names of objects bound to them. |
NamingEnumeration | listBindings(Name name) Enumerates the names bound in the named context, along with the objects bound to them. |
NamingEnumeration | listBindings(String name) Enumerates the names bound in the named context, along with the objects bound to them. |
Object | lookup(Name name) Retrieves the named object. |
Object | lookup(String name) Retrieves the named object. |
Object | lookupLink(Name name) Retrieves the named object, following links except for the terminal atomic component of the name. |
Object | lookupLink(String name) Retrieves the named object, following links except for the terminal atomic component of the name. |
void | rebind(Name name, Object obj) Binds a name to an object, overwriting any existing binding. |
void | rebind(String name, Object obj) Binds a name to an object, overwriting any existing binding. |
void | rename(Name oldName, Name newName) Binds a new name to the object bound to an old name, and unbinds the old name. |
void | rename(String oldName, String newName) Binds a new name to the object bound to an old name, and unbinds the old name. |
String | toString() Returns a string representation of the object. |
void | unbind(Name name) Unbinds the named object. |
void | unbind(String name) Unbinds the named object. |