| Package | Description |
|---|---|
| javax.naming |
Provides the classes and interfaces for accessing naming services.
|
| javax.naming.directory |
Extends the
javax.naming package to provide functionality for accessing directory services.
|
| javax.naming.event |
Provides support for event notification when accessing naming and directory services.
|
| javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
| javax.naming.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeName
This class represents a composite name -- a sequence of component names spanning multiple namespaces.
|
class |
CompoundName
This class represents a compound name -- a name from a hierarchical name space.
|
| Modifier and Type | Field and Description |
|---|---|
protected Name |
CannotProceedException.altName
Contains the name of the resolved object, relative to the context
altNameCtx.
|
protected Name |
LinkException.linkRemainingName
Contains the remaining link name that has not been resolved yet.
|
protected Name |
LinkException.linkResolvedName
Contains the part of the link that has been successfully resolved.
|
protected Name |
NamingException.remainingName
Contains the remaining name that has not been resolved yet.
|
protected Name |
CannotProceedException.remainingNewName
Contains the remaining unresolved part of the second "name" argument to Context.rename().
|
protected Name |
NamingException.resolvedName
Contains the part of the name that has been successfully resolved.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
CompositeName.add(int posn, String
Adds a single component at a specified position within this composite name.
|
Name |
CompoundName.add(int posn, String
Adds a single component at a specified position within this compound name.
|
Name |
Name.add(int posn, String
Adds a single component at a specified position within this name.
|
Name |
CompositeName.add(String
Adds a single component to the end of this composite name.
|
Name |
CompoundName.add(String
Adds a single component to the end of this compound name.
|
Name |
Name.add(String
Adds a single component to the end of this name.
|
Name |
CompositeName.addAll(int posn, Name
Adds the components of a composite name -- in order -- at a specified position within this composite name.
|
Name |
CompoundName.addAll(int posn, Name
Adds the components of a compound name -- in order -- at a specified position within this compound name.
|
Name |
Name.addAll(int posn, Name
Adds the components of a name -- in order -- at a specified position within this name.
|
Name |
CompositeName.addAll(Name
Adds the components of a composite name -- in order -- to the end of this composite name.
|
Name |
CompoundName.addAll(Name
Adds the components of a compound name -- in order -- to the end of this compound name.
|
Name |
Name.addAll(Name
Adds the components of a name -- in order -- to the end of this name.
|
Name |
Context.composeName(Name
Composes the name of this context with a name relative to this context.
|
Name |
InitialContext.composeName(Name
Composes the name of this context with a name relative to this context.
|
Name |
CannotProceedException.getAltName()
Retrieves the
altName field of this exception.
|
Name |
LinkException.getLinkRemainingName()
Retrieves the remaining unresolved portion of the link name.
|
Name |
LinkException.getLinkResolvedName()
Retrieves the leading portion of the link name that was resolved successfully.
|
Name |
CompositeName.getPrefix(int posn)
Creates a composite name whose components consist of a prefix of the components in this composite name.
|
Name |
CompoundName.getPrefix(int posn)
Creates a compound name whose components consist of a prefix of the components in this compound name.
|
Name |
Name.getPrefix(int posn)
Creates a name whose components consist of a prefix of the components of this name.
|
Name |
NamingException.getRemainingName()
Retrieves the remaining unresolved portion of the name.
|
Name |
CannotProceedException.getRemainingNewName()
Retrieves the "remaining new name" field of this exception, which is used when this exception is thrown during a rename() operation.
|
Name |
NamingException.getResolvedName()
Retrieves the leading portion of the name that was resolved successfully.
|
Name |
CompositeName.getSuffix(int posn)
Creates a composite name whose components consist of a suffix of the components in this composite name.
|
Name |
CompoundName.getSuffix(int posn)
Creates a compound name whose components consist of a suffix of the components in this compound name.
|
Name |
Name.getSuffix(int posn)
Creates a name whose components consist of a suffix of the components in this name.
|
Name |
NameParser.parse(String
Parses a name into its components.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
CompositeName.addAll(int posn, Name
Adds the components of a composite name -- in order -- at a specified position within this composite name.
|
Name |
CompoundName.addAll(int posn, Name
Adds the components of a compound name -- in order -- at a specified position within this compound name.
|
Name |
Name.addAll(int posn, Name
Adds the components of a name -- in order -- at a specified position within this name.
|
Name |
CompositeName.addAll(Name
Adds the components of a composite name -- in order -- to the end of this composite name.
|
Name |
CompoundName.addAll(Name
Adds the components of a compound name -- in order -- to the end of this compound name.
|
Name |
Name.addAll(Name
Adds the components of a name -- in order -- to the end of this name.
|
void |
NamingException.appendRemainingName(Name
Add components from 'name' as the last components in remaining name.
|
void |
Context.bind(Name
Binds a name to an object.
|
void |
InitialContext.bind(Name
|
Name |
Context.composeName(Name
Composes the name of this context with a name relative to this context.
|
Name |
InitialContext.composeName(Name
Composes the name of this context with a name relative to this context.
|
Context |
Context.createSubcontext(Name
Creates and binds a new context.
|
Context |
InitialContext.createSubcontext(Name
|
void |
Context.destroySubcontext(Name
Destroys the named context and removes it from the namespace.
|
void |
InitialContext.destroySubcontext(Name
|
static <T> T |
InitialContext.doLookup(Name
A static method to retrieve the named object.
|
boolean |
CompositeName.endsWith(Name
Determines whether a composite name is a suffix of this composite name.
|
boolean |
CompoundName.endsWith(Name
Determines whether a compound name is a suffix of this compound name.
|
boolean |
Name.endsWith(Name
Determines whether this name ends with a specified suffix.
|
NameParser |
Context.getNameParser(Name
Retrieves the parser associated with the named context.
|
NameParser |
InitialContext.getNameParser(Name
|
protected Context |
InitialContext.getURLOrDefaultInitCtx(Name
Retrieves a context for resolving
name.
|
NamingEnumeration |
Context.list(Name
Enumerates the names bound in the named context, along with the class names of objects bound to them.
|
NamingEnumeration |
InitialContext.list(Name
|
NamingEnumeration |
Context.listBindings(Name
Enumerates the names bound in the named context, along with the objects bound to them.
|
NamingEnumeration |
InitialContext.listBindings(Name
|
Object |
Context.lookup(Name
Retrieves the named object.
|
Object |
InitialContext.lookup(Name
|
Object |
Context.lookupLink(Name
Retrieves the named object, following links except for the terminal atomic component of the name.
|
Object |
InitialContext.lookupLink(Name
|
void |
Context.rebind(Name
Binds a name to an object, overwriting any existing binding.
|
void |
InitialContext.rebind(Name
|
void |
Context.rename(Name
Binds a new name to the object bound to an old name, and unbinds the old name.
|
void |
InitialContext.rename(Name
|
void |
CannotProceedException.setAltName(Name
Sets the
altName field of this exception.
|
void |
LinkException.setLinkRemainingName(Name
Sets the remaining link name field of this exception.
|
void |
LinkException.setLinkResolvedName(Name
Sets the resolved link name field of this exception.
|
void |
NamingException.setRemainingName(Name
Sets the remaining name field of this exception.
|
void |
CannotProceedException.setRemainingNewName(Name
Sets the "remaining new name" field of this exception.
|
void |
NamingException.setResolvedName(Name
Sets the resolved name field of this exception.
|
boolean |
CompositeName.startsWith(Name
Determines whether a composite name is a prefix of this composite name.
|
boolean |
CompoundName.startsWith(Name
Determines whether a compound name is a prefix of this compound name.
|
boolean |
Name.startsWith(Name
Determines whether this name starts with a specified prefix.
|
void |
Context.unbind(Name
Unbinds the named object.
|
void |
InitialContext.unbind(Name
|
| Constructor and Description | |
|---|---|
LinkRef(Name
Constructs a LinkRef for a name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirContext.bind(Name
Binds a name to an object, along with associated attributes.
|
void |
InitialDirContext.bind(Name
|
DirContext |
DirContext.createSubcontext(Name
Creates and binds a new context, along with associated attributes.
|
DirContext |
InitialDirContext.createSubcontext(Name
|
Attributes |
DirContext.getAttributes(Name
Retrieves all of the attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(Name
|
Attributes |
DirContext.getAttributes(Name
Retrieves selected attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(Name
|
DirContext |
DirContext.getSchema(Name
Retrieves the schema associated with the named object.
|
DirContext |
InitialDirContext.getSchema(Name
|
DirContext |
DirContext.getSchemaClassDefinition(Name
Retrieves a context containing the schema objects of the named object's class definitions.
|
DirContext |
InitialDirContext.getSchemaClassDefinition(Name
|
void |
DirContext.modifyAttributes(Name
Modifies the attributes associated with a named object.
|
void |
InitialDirContext.modifyAttributes(Name
|
void |
DirContext.modifyAttributes(Name
Modifies the attributes associated with a named object using an ordered list of modifications.
|
void |
InitialDirContext.modifyAttributes(Name
|
void |
DirContext.rebind(Name
Binds a name to an object, along with associated attributes, overwriting any existing binding.
|
void |
InitialDirContext.rebind(Name
|
NamingEnumeration |
DirContext.search(Name
Searches in a single context for objects that contain a specified set of attributes.
|
NamingEnumeration |
InitialDirContext.search(Name
|
NamingEnumeration |
DirContext.search(Name
Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.
|
NamingEnumeration |
InitialDirContext.search(Name
|
NamingEnumeration |
DirContext.search(Name
Searches in the named context or object for entries that satisfy the given search filter.
|
NamingEnumeration |
InitialDirContext.search(Name
|
NamingEnumeration |
DirContext.search(Name
Searches in the named context or object for entries that satisfy the given search filter.
|
NamingEnumeration |
InitialDirContext.search(Name
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventContext.addNamingListener(Name
Adds a listener for receiving naming events fired when the object(s) identified by a target and scope changes.
|
void |
EventDirContext.addNamingListener(Name
Adds a listener for receiving naming events fired when objects identified by the search filter
filter and filter arguments at the object named by the target are modified.
|
void |
EventDirContext.addNamingListener(Name
Adds a listener for receiving naming events fired when objects identified by the search filter
filter at the object named by target are modified.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LdapName
This class represents a distinguished name as specified by
RFC 2253.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
LdapName.add(int posn, Rdn
Adds a single RDN at a specified position within this LDAP name.
|
Name |
LdapName.add(int posn, String
Adds a single component at a specified position within this LDAP name.
|
Name |
LdapName.add(Rdn
Adds a single RDN to the end of this LDAP name.
|
Name |
LdapName.add(String
Adds a single component to the end of this LDAP name.
|
Name |
LdapName.addAll(int posn, List
Adds the RDNs of a name -- in order -- at a specified position within this name.
|
Name |
LdapName.addAll(int posn, Name
Adds the components of a name -- in order -- at a specified position within this name.
|
Name |
LdapName.addAll(List
Adds the RDNs of a name -- in order -- to the end of this name.
|
Name |
LdapName.addAll(Name
Adds the components of a name -- in order -- to the end of this name.
|
Name |
LdapName.getPrefix(int posn)
Creates a name whose components consist of a prefix of the components of this LDAP name.
|
Name |
LdapName.getSuffix(int posn)
Creates a name whose components consist of a suffix of the components in this LDAP name.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
LdapName.addAll(int posn, Name
Adds the components of a name -- in order -- at a specified position within this name.
|
Name |
LdapName.addAll(Name
Adds the components of a name -- in order -- to the end of this name.
|
boolean |
LdapName.endsWith(Name
Determines whether this LDAP name ends with a specified LDAP name suffix.
|
boolean |
LdapName.startsWith(Name
Determines whether this LDAP name starts with a specified LDAP name prefix.
|
| Modifier and Type | Field and Description |
|---|---|
protected Name |
ResolveResult.remainingName
Field containing the remaining name yet to be resolved.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
ResolveResult.getRemainingName()
Retrieves the remaining unresolved portion of the name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResolveResult.appendRemainingName(Name
Adds components to the end of remaining name.
|
Object |
ObjectFactory.getObjectInstance(Object
Creates an object using the location or reference information specified.
|
static Object |
NamingManager.getObjectInstance(Object
Creates an instance of an object for the specified object and environment.
|
static Object |
DirectoryManager.getObjectInstance(Object
Creates an instance of an object for the specified object, attributes, and environment.
|
Object |
DirObjectFactory.getObjectInstance(Object
Creates an object using the location or reference information, and attributes specified.
|
Object |
StateFactory.getStateToBind(Object
Retrieves the state of an object for binding.
|
static Object |
NamingManager.getStateToBind(Object
Retrieves the state of an object for binding.
|
DirStateFactory |
DirStateFactory.getStateToBind(Object
Retrieves the state of an object for binding given the object and attributes to be transformed.
|
static DirStateFactory |
DirectoryManager.getStateToBind(Object
Retrieves the state of an object for binding when given the original object and its attributes.
|
ResolveResult |
Resolver.resolveToClass(Name
Partially resolves a name.
|
void |
ResolveResult.setRemainingName(Name
Sets the remaining name field of this result to name.
|
| Constructor and Description | |
|---|---|
ResolveResult(Object
Constructs a new instance of ResolveResult consisting of the resolved Object and the remaining name.
|