Package javax.naming

Interface Summary
Context sample code for javax.naming.Context definition code for javax.naming.Context This interface represents a naming context, which consists of a set of name-to-object bindings.
Name sample code for javax.naming.Name definition code for javax.naming.Name The Name interface represents a generic name -- an ordered sequence of components.
NameParser sample code for javax.naming.NameParser definition code for javax.naming.NameParser This interface is used for parsing names from a hierarchical namespace.
NamingEnumeration<T> sample code for javax.naming.NamingEnumeration definition code for javax.naming.NamingEnumeration This interface is for enumerating lists returned by methods in the javax.naming and javax.naming.directory packages.
Referenceable sample code for javax.naming.Referenceable definition code for javax.naming.Referenceable This interface is implemented by an object that can provide a Reference to itself.
 

Class Summary
BinaryRefAddr sample code for javax.naming.BinaryRefAddr definition code for javax.naming.BinaryRefAddr This class represents the binary form of the address of a communications end-point.
Binding sample code for javax.naming.Binding definition code for javax.naming.Binding This class represents a name-to-object binding found in a context.
CompositeName sample code for javax.naming.CompositeName definition code for javax.naming.CompositeName This class represents a composite name -- a sequence of component names spanning multiple namespaces.
CompoundName sample code for javax.naming.CompoundName definition code for javax.naming.CompoundName This class represents a compound name -- a name from a hierarchical name space.
InitialContext sample code for javax.naming.InitialContext definition code for javax.naming.InitialContext This class is the starting context for performing naming operations.
LinkRef sample code for javax.naming.LinkRef definition code for javax.naming.LinkRef This class represents a Reference whose contents is a name, called the link name, that is bound to an atomic name in a context.
NameClassPair sample code for javax.naming.NameClassPair definition code for javax.naming.NameClassPair This class represents the object name and class name pair of a binding found in a context.
RefAddr sample code for javax.naming.RefAddr definition code for javax.naming.RefAddr This class represents the address of a communications end-point.
Reference sample code for javax.naming.Reference definition code for javax.naming.Reference This class represents a reference to an object that is found outside of the naming/directory system.
StringRefAddr sample code for javax.naming.StringRefAddr definition code for javax.naming.StringRefAddr This class represents the string form of the address of a communications end-point.
 

Exception Summary
AuthenticationException sample code for javax.naming.AuthenticationException definition code for javax.naming.AuthenticationException This exception is thrown when an authentication error occurs while accessing the naming or directory service.
AuthenticationNotSupportedException sample code for javax.naming.AuthenticationNotSupportedException definition code for javax.naming.AuthenticationNotSupportedException This exception is thrown when the particular flavor of authentication requested is not supported.
CannotProceedException sample code for javax.naming.CannotProceedException definition code for javax.naming.CannotProceedException This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.
CommunicationException sample code for javax.naming.CommunicationException definition code for javax.naming.CommunicationException This exception is thrown when the client is unable to communicate with the directory or naming service.
ConfigurationException sample code for javax.naming.ConfigurationException definition code for javax.naming.ConfigurationException This exception is thrown when there is a configuration problem.
ContextNotEmptyException sample code for javax.naming.ContextNotEmptyException definition code for javax.naming.ContextNotEmptyException This exception is thrown when attempting to destroy a context that is not empty.
InsufficientResourcesException sample code for javax.naming.InsufficientResourcesException definition code for javax.naming.InsufficientResourcesException This exception is thrown when resources are not available to complete the requested operation.
InterruptedNamingException sample code for javax.naming.InterruptedNamingException definition code for javax.naming.InterruptedNamingException This exception is thrown when the naming operation being invoked has been interrupted.
InvalidNameException sample code for javax.naming.InvalidNameException definition code for javax.naming.InvalidNameException This exception indicates that the name being specified does not conform to the naming syntax of a naming system.
LimitExceededException sample code for javax.naming.LimitExceededException definition code for javax.naming.LimitExceededException This exception is thrown when a method terminates abnormally due to a user or system specified limit.
LinkException sample code for javax.naming.LinkException definition code for javax.naming.LinkException This exception is used to describe problems encounter while resolving links.
LinkLoopException sample code for javax.naming.LinkLoopException definition code for javax.naming.LinkLoopException This exception is thrown when a loop was detected will attempting to resolve a link, or an implementation specific limit on link counts has been reached.
MalformedLinkException sample code for javax.naming.MalformedLinkException definition code for javax.naming.MalformedLinkException This exception is thrown when a malformed link was encountered while resolving or constructing a link.
NameAlreadyBoundException sample code for javax.naming.NameAlreadyBoundException definition code for javax.naming.NameAlreadyBoundException This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.
NameNotFoundException sample code for javax.naming.NameNotFoundException definition code for javax.naming.NameNotFoundException This exception is thrown when a component of the name cannot be resolved because it is not bound.
NamingException sample code for javax.naming.NamingException definition code for javax.naming.NamingException This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces.
NamingSecurityException sample code for javax.naming.NamingSecurityException definition code for javax.naming.NamingSecurityException This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.
NoInitialContextException sample code for javax.naming.NoInitialContextException definition code for javax.naming.NoInitialContextException This exception is thrown when no initial context implementation can be created.
NoPermissionException sample code for javax.naming.NoPermissionException definition code for javax.naming.NoPermissionException This exception is thrown when attempting to perform an operation for which the client has no permission.
NotContextException sample code for javax.naming.NotContextException definition code for javax.naming.NotContextException This exception is thrown when a naming operation proceeds to a point where a context is required to continue the operation, but the resolved object is not a context.
OperationNotSupportedException sample code for javax.naming.OperationNotSupportedException definition code for javax.naming.OperationNotSupportedException This exception is thrown when a context implementation does not support the operation being invoked.
PartialResultException sample code for javax.naming.PartialResultException definition code for javax.naming.PartialResultException This exception is thrown to indicate that the result being returned or returned so far is partial, and that the operation cannot be completed.
ReferralException sample code for javax.naming.ReferralException definition code for javax.naming.ReferralException This abstract class is used to represent a referral exception, which is generated in response to a referral such as that returned by LDAP v3 servers.
ServiceUnavailableException sample code for javax.naming.ServiceUnavailableException definition code for javax.naming.ServiceUnavailableException This exception is thrown when attempting to communicate with a directory or naming service and that service is not available.
SizeLimitExceededException sample code for javax.naming.SizeLimitExceededException definition code for javax.naming.SizeLimitExceededException This exception is thrown when a method produces a result that exceeds a size-related limit.
TimeLimitExceededException sample code for javax.naming.TimeLimitExceededException definition code for javax.naming.TimeLimitExceededException This exception is thrown when a method does not terminate within the specified time limit.