|
JNDI 1.1.1 | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Name | |
javax.naming | Contains classes and interfaces for accessing naming services. |
javax.naming.directory | Extends the core javax.naming package to provide functionality for accessing directories in addition to naming services. |
javax.naming.spi | Contains the classes and interfaces that allow various naming and directory service providers to be dynamically plugged in beneath the JNDI API. |
Uses of Name in javax.naming |
Classes in javax.naming that implement Name | |
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. |
Fields in javax.naming declared as Name | |
protected Name |
NamingException.resolvedName
Contains the part of the name that has been successfully resolved. |
protected Name |
NamingException.remainingName
Contains the remaining name that has not been resolved yet. |
protected Name |
LinkException.linkResolvedName
Contains the part of the link that has been successfully resolved. |
protected Name |
LinkException.linkRemainingName
Contains the remaining link 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 |
CannotProceedException.altName
Contains the name of the resolved object, relative to the context altNameCtx . |
Methods in javax.naming that return Name | |
Name |
NamingException.getResolvedName()
Retrieves the leading portion of the name that was resolved successfully. |
Name |
NamingException.getRemainingName()
Retrieves the remaining unresolved portion of the name. |
Name |
LinkException.getLinkResolvedName()
Retrieves the leading portion of the link name that was resolved successfully. |
Name |
LinkException.getLinkRemainingName()
Retrieves the remaining unresolved portion of the link 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 |
CannotProceedException.getAltName()
Retrieves the altName field of this exception. |
Name |
InitialContext.composeName(Name name,
Name prefix)
Composes the name of this context with a name relative to this context. |
Name |
Context.composeName(Name name,
Name prefix)
Composes the name of this context with a name relative to this context. |
Name |
NameParser.parse(java.lang.String name)
Parses a name into its components. |
Name |
Name.getPrefix(int posn)
Creates a name whose components consist of a prefix of the components in this name. |
Name |
Name.getSuffix(int posn)
Creates a name whose components consist of a suffix of the components in this name. |
Name |
Name.addAll(Name suffix)
Adds the components of a name -- in order -- to the end of this name. |
Name |
Name.addAll(int posn,
Name n)
Adds the components of a name -- in order -- at a specified position within this name. |
Name |
Name.add(java.lang.String comp)
Adds a single component to the end of this name. |
Name |
Name.add(int posn,
java.lang.String comp)
Adds a single component at a specified position within this name. |
Name |
CompoundName.getPrefix(int posn)
Creates a compound name whose components consist of a prefix of the components in this compound name. |
Name |
CompoundName.getSuffix(int posn)
Creates a compound name whose components consist of a suffix of the components in this compound name. |
Name |
CompoundName.addAll(Name suffix)
Adds the components of a compound name -- in order -- to the end of this compound name. |
Name |
CompoundName.addAll(int posn,
Name n)
Adds the components of a compound name -- in order -- at a specified position within this compound name. |
Name |
CompoundName.add(java.lang.String comp)
Adds a single component to the end of this compound name. |
Name |
CompoundName.add(int posn,
java.lang.String comp)
Adds a single component at a specified position within this compound name. |
Name |
CompositeName.getPrefix(int posn)
Creates a composite name whose components consist of a prefix of the components in this composite name. |
Name |
CompositeName.getSuffix(int posn)
Creates a composite name whose components consist of a suffix of the components in this composite name. |
Name |
CompositeName.addAll(Name suffix)
Adds the components of a composite name -- in order -- to the end of this composite name. |
Name |
CompositeName.addAll(int posn,
Name n)
Adds the components of a composite name -- in order -- at a specified position within this composite name. |
Name |
CompositeName.add(java.lang.String comp)
Adds a single component to the end of this composite name. |
Name |
CompositeName.add(int posn,
java.lang.String comp)
Adds a single component at a specified position within this composite name. |
Methods in javax.naming with parameters of type Name | |
void |
NamingException.setResolvedName(Name name)
Sets the resolved name field of this exception. |
void |
NamingException.setRemainingName(Name name)
Sets the remaining name field of this exception. |
void |
NamingException.appendRemainingName(Name name)
Add components from 'name' as the last components in remaining name. |
void |
LinkException.setLinkResolvedName(Name name)
Sets the resolved link name field of this exception. |
void |
LinkException.setLinkRemainingName(Name name)
Sets the remaining link name field of this exception. |
void |
CannotProceedException.setRemainingNewName(Name newName)
Sets the "remaining new name" field of this exception. |
void |
CannotProceedException.setAltName(Name altName)
Sets the altName field of this exception. |
protected Context |
InitialContext.getURLOrDefaultInitCtx(Name name)
Retrieves a context for resolving name . |
java.lang.Object |
InitialContext.lookup(Name name)
Retrieves the object bound to name resolved relative to the
initial context. |
void |
InitialContext.bind(Name name,
java.lang.Object obj)
Binds 'name' to the object 'obj'. |
void |
InitialContext.rebind(Name name,
java.lang.Object obj)
Binds 'name' to the object 'obj', overwrite any existing binding. |
void |
InitialContext.unbind(Name name)
Unbinds 'name' resolved relative to this initial context. |
void |
InitialContext.rename(Name oldName,
Name newName)
Binds 'newName' to the object bound to 'oldName', and unbinds 'oldName'. |
NamingEnumeration |
InitialContext.list(Name name)
Enumerates the names and the class names of their bound objects in the context named relative to this initial context. |
NamingEnumeration |
InitialContext.listBindings(Name name)
Enumerates the names and their bound objects in the context named relative to this initial context. |
void |
InitialContext.destroySubcontext(Name name)
Destroys the named context and removes it from the namespace. |
Context |
InitialContext.createSubcontext(Name name)
Creates and binds a new context. |
java.lang.Object |
InitialContext.lookupLink(Name name)
Retrieve the object named relative to this initial context, following links except for the terminal atomic component of name. |
NameParser |
InitialContext.getNameParser(Name name)
Retrieves the parser associated with the named context. |
Name |
InitialContext.composeName(Name name,
Name prefix)
Composes the name of this context with a name relative to this context. |
java.lang.Object |
Context.lookup(Name name)
Retrieves the named object. |
void |
Context.bind(Name name,
java.lang.Object obj)
Binds 'name' to the object 'obj'. |
void |
Context.rebind(Name name,
java.lang.Object obj)
Binds 'name' to the object 'obj', overwriting any existing binding. |
void |
Context.unbind(Name name)
Unbinds the named object from the namespace using its string name. |
void |
Context.rename(Name oldName,
Name newName)
Binds 'newName' to the object bound to 'oldName', and unbinds 'oldName'. |
NamingEnumeration |
Context.list(Name name)
Enumerates the names and the class names of their bound objects in the named context. |
NamingEnumeration |
Context.listBindings(Name name)
Enumerates the names and their bound objects in the named context. |
void |
Context.destroySubcontext(Name name)
Destroys the named context and removes it from the namespace. |
Context |
Context.createSubcontext(Name name)
Creates and binds a new context. |
java.lang.Object |
Context.lookupLink(Name name)
Retrieves the named object, following links except for the terminal atomic component of name. |
NameParser |
Context.getNameParser(Name name)
Retrieves the parser associated with the named context. |
Name |
Context.composeName(Name name,
Name prefix)
Composes the name of this context with a name relative to this context. |
boolean |
Name.startsWith(Name n)
Determines whether this name starts with a specified prefix. |
boolean |
Name.endsWith(Name n)
Determines whether this name ends with a specified suffix. |
Name |
Name.addAll(Name suffix)
Adds the components of a name -- in order -- to the end of this name. |
Name |
Name.addAll(int posn,
Name n)
Adds the components of a name -- in order -- at a specified position within this name. |
boolean |
CompoundName.startsWith(Name n)
Determines whether a compound name is a prefix of this compound name. |
boolean |
CompoundName.endsWith(Name n)
Determines whether a compound name is a suffix of this compound name. |
Name |
CompoundName.addAll(Name suffix)
Adds the components of a compound name -- in order -- to the end of this compound name. |
Name |
CompoundName.addAll(int posn,
Name n)
Adds the components of a compound name -- in order -- at a specified position within this compound name. |
boolean |
CompositeName.startsWith(Name n)
Determines whether a composite name is a prefix of this composite name. |
boolean |
CompositeName.endsWith(Name n)
Determines whether a composite name is a suffix of this composite name. |
Name |
CompositeName.addAll(Name suffix)
Adds the components of a composite name -- in order -- to the end of this composite name. |
Name |
CompositeName.addAll(int posn,
Name n)
Adds the components of a composite name -- in order -- at a specified position within this composite name. |
Constructors in javax.naming with parameters of type Name | |
LinkRef.LinkRef(Name linkName)
Constructs a LinkRef for a name. |
Uses of Name in javax.naming.directory |
Methods in javax.naming.directory with parameters of type Name | |
Attributes |
DirContext.getAttributes(Name name)
Retrieves all of the attributes associated with a named object. |
Attributes |
DirContext.getAttributes(Name name,
java.lang.String[] attrIds)
Retrieves selected attributes associated with a named object. |
void |
DirContext.modifyAttributes(Name name,
int mod_op,
Attributes attrs)
Modifies the attributes associated with a named object. |
void |
DirContext.modifyAttributes(Name name,
ModificationItem[] mods)
Modifies the attributes associated with a named object using an an ordered list of modifications. |
void |
DirContext.bind(Name name,
java.lang.Object obj,
Attributes attrs)
Binds 'name' to the object 'obj' and associate the attributes 'attrs' with the named object. |
void |
DirContext.rebind(Name name,
java.lang.Object obj,
Attributes attrs)
Binds 'name' to the object 'obj' and associates the attributes 'attrs' with the named object, overwriting any existing binding. |
DirContext |
DirContext.createSubcontext(Name name,
Attributes attrs)
Creates a new context with given attributes, and binds it in the target context. |
DirContext |
DirContext.getSchema(Name name)
Retrieves the schema associated with the named object. |
DirContext |
DirContext.getSchemaClassDefinition(Name name)
Retrieves the schema object class definition for the named object. |
NamingEnumeration |
DirContext.search(Name name,
Attributes matchingAttributes,
java.lang.String[] attributesToReturn)
Searches in a single context for objects that contain a specified set of attributes and retrieve their attributes. |
NamingEnumeration |
DirContext.search(Name name,
Attributes matchingAttributes)
Searches in a single context for objects that contain a specified set of attributes. |
NamingEnumeration |
DirContext.search(Name name,
java.lang.String filter,
SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter. |
NamingEnumeration |
DirContext.search(Name name,
java.lang.String filterExpr,
java.lang.Object[] filterArgs,
SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter. |
Attributes |
InitialDirContext.getAttributes(Name name)
Retrieves all the attributes associated with named object. |
Attributes |
InitialDirContext.getAttributes(Name name,
java.lang.String[] attrIds)
Retrieves the attributes listed in attrIds associated with named object. |
void |
InitialDirContext.modifyAttributes(Name name,
int mod_op,
Attributes attrs)
Modifies according to mod_op and attrs the attributes associated with the named object. |
void |
InitialDirContext.modifyAttributes(Name name,
ModificationItem[] mods)
Modifies according to mods the attributes associated with the named object. |
void |
InitialDirContext.bind(Name name,
java.lang.Object obj,
Attributes attrs)
Binds 'name' to the object 'obj' and associate the attributes 'attrs' with the named object. |
void |
InitialDirContext.rebind(Name name,
java.lang.Object obj,
Attributes attrs)
Binds 'name' to the object 'obj' and associates the attributes 'attrs' with the named object. |
DirContext |
InitialDirContext.createSubcontext(Name name,
Attributes attrs)
Creates a new subcontext with the given name resolved relative to the initial context, and associates the attributes 'attrs' with the named object. |
DirContext |
InitialDirContext.getSchema(Name name)
Retrieves the schema associated with this initial DirContext. |
DirContext |
InitialDirContext.getSchemaClassDefinition(Name name)
Retrieves the schema class definition associated with this initial context. |
NamingEnumeration |
InitialDirContext.search(Name name,
Attributes matchingAttributes)
Searches for named objects that contain a set of attributes in a single context. |
NamingEnumeration |
InitialDirContext.search(Name name,
Attributes matchingAttributes,
java.lang.String[] attributesToReturn)
Searches for named objects that contain a set of attributes in a single context. |
NamingEnumeration |
InitialDirContext.search(Name name,
java.lang.String filter,
SearchControls cons)
Search in the context named by 'name' entries with that satisfies the given string 'filter'. |
NamingEnumeration |
InitialDirContext.search(Name name,
java.lang.String filterExpr,
java.lang.Object[] filterArgs,
SearchControls cons)
Search in the context named by 'name' entries with that satisfies the given 'filter'. |
Uses of Name in javax.naming.spi |
Fields in javax.naming.spi declared as Name | |
protected Name |
ResolveResult.remainingName
Field containing the remaining name yet to be resolved. |
Methods in javax.naming.spi that return Name | |
Name |
ResolveResult.getRemainingName()
Retrieves the remaining unresolved portion of the name. |
Methods in javax.naming.spi with parameters of type Name | |
void |
ResolveResult.setRemainingName(Name name)
Sets the remaining name field of this result to name. |
void |
ResolveResult.appendRemainingName(Name name)
Adds components to the end of remaining name. |
ResolveResult |
Resolver.resolveToClass(Name name,
java.lang.Class contextType)
Partially resolves a name, stopping at the first context that is an instance of a given subtype of Context . |
static java.lang.Object |
NamingManager.getObjectInstance(java.lang.Object refInfo,
Name name,
Context nameCtx,
java.util.Hashtable environment)
Creates an instance of an object for the specified object and environment. |
java.lang.Object |
ObjectFactory.getObjectInstance(java.lang.Object obj,
Name name,
Context nameCtx,
java.util.Hashtable environment)
Creates an object using the location or reference information specified. |
Constructors in javax.naming.spi with parameters of type Name | |
ResolveResult.ResolveResult(java.lang.Object robj,
Name rname)
Constructs a new instance of ResolveResult consisting of the resolved Object and the remaining name. |
|
JNDI 1.1.1 | ||||||||
PREV NEXT | FRAMES NO FRAMES |