Java javax.naming Context fields, constructors, methods, implement or subclass

Example usage for Java javax.naming Context fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.naming Context.

The text is from its open source code.

Implementation

javax.naming.Context has the following implementations.
Click this link to see all its implementation.

Field

StringINITIAL_CONTEXT_FACTORY
Constant that holds the name of the environment property for specifying the initial context factory to use.
StringOBJECT_FACTORIES
Constant that holds the name of the environment property for specifying the list of object factories to use.
StringSTATE_FACTORIES
Constant that holds the name of the environment property for specifying the list of state factories to use.
StringURL_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.
StringPROVIDER_URL
Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
StringDNS_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").
StringAUTHORITATIVE
Constant that holds the name of the environment property for specifying the authoritativeness of the service requested.
StringBATCHSIZE
Constant that holds the name of the environment property for specifying the batch size to use when returning data via the service's protocol.
StringREFERRAL
Constant that holds the name of the environment property for specifying how referrals encountered by the service provider are to be processed.
StringSECURITY_PROTOCOL
Constant that holds the name of the environment property for specifying the security protocol to use.
StringSECURITY_AUTHENTICATION
Constant that holds the name of the environment property for specifying the security level to use.
StringSECURITY_PRINCIPAL
Constant that holds the name of the environment property for specifying the identity of the principal for authenticating the caller to the service.
StringSECURITY_CREDENTIALS
Constant that holds the name of the environment property for specifying the credentials of the principal for authenticating the caller to the service.
StringLANGUAGE
Constant that holds the name of the environment property for specifying the preferred language to use with the service.

Method

voidbind(Name name, Object obj)
Binds a name to an object.
voidbind(String name, Object obj)
Binds a name to an object.
voidclose()
Closes this context.
ContextcreateSubcontext(Name name)
Creates and binds a new context.
ContextcreateSubcontext(String name)
Creates and binds a new context.
voiddestroySubcontext(Name name)
Destroys the named context and removes it from the namespace.
voiddestroySubcontext(String name)
Destroys the named context and removes it from the namespace.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ClassgetClass()
Returns the runtime class of this Object .
HashtablegetEnvironment()
Retrieves the environment in effect for this context.
StringgetNameInNamespace()
Retrieves the full name of this context within its own namespace.
NameParsergetNameParser(Name name)
Retrieves the parser associated with the named context.
NameParsergetNameParser(String name)
Retrieves the parser associated with the named context.
inthashCode()
Returns a hash code value for the object.
NamingEnumerationlist(Name name)
Enumerates the names bound in the named context, along with the class names of objects bound to them.
NamingEnumerationlist(String name)
Enumerates the names bound in the named context, along with the class names of objects bound to them.
NamingEnumerationlistBindings(Name name)
Enumerates the names bound in the named context, along with the objects bound to them.
NamingEnumerationlistBindings(String name)
Enumerates the names bound in the named context, along with the objects bound to them.
Objectlookup(Name name)
Retrieves the named object.
Objectlookup(String name)
Retrieves the named object.
ObjectlookupLink(Name name)
Retrieves the named object, following links except for the terminal atomic component of the name.
ObjectlookupLink(String name)
Retrieves the named object, following links except for the terminal atomic component of the name.
voidrebind(Name name, Object obj)
Binds a name to an object, overwriting any existing binding.
voidrebind(String name, Object obj)
Binds a name to an object, overwriting any existing binding.
voidrename(Name oldName, Name newName)
Binds a new name to the object bound to an old name, and unbinds the old name.
voidrename(String oldName, String newName)
Binds a new name to the object bound to an old name, and unbinds the old name.
StringtoString()
Returns a string representation of the object.
voidunbind(Name name)
Unbinds the named object.
voidunbind(String name)
Unbinds the named object.