Uses of Interface javax.naming.Name

Uses in package javax.naming

Classes implementing javax.naming.Name

class
Represents names that may span over several namespaces.
class
Represents hierarchical names from the single namespace.

Constructors with parameter type javax.naming.Name

Fields of type javax.naming.Name

Name
Name
Name
Name
If the exception was caused while resolving a Name then this field contains that part of the name that could not be resolved.
Name
Name
If the exception was caused while resolving a Name then this field contains that part of the name that could be resolved.

Methods with parameter type javax.naming.Name

Name
CompositeName.addAll(int posn, Name n)
Name
CompoundName.addAll(int posn, Name n)
Name
Name.addAll(int posn, Name n)
Inserts all the components of the given Name to this Name at the given index.
Name
Name
Name
Name.addAll(Name suffix)
Adds all the components of the given Name to the end of this Name.
void
Adds the given Name to the remainingName field.
void
Context.bind(Name name, Object obj)
Give the specified name for the specified object.
void
Name
Context.composeName(Name name, Name prefix)
Composes the name of this context together with another name, related to this context.
Name
Context
Creates the new naming subcontext and binds it to the current (this) context.
Context
void
Removes the naming subcontext from this naming context.
void
boolean
boolean
boolean
Returns true if this Name ends with the components of the given Name, false otherwise.
NameParser
Obtains the name parser for parsing the names of the given naming subcontext.
NameParser
Context
Obtains the context for resolving the given name.
NamingEnumeration
Creates and returns the enumeration over the name bindings that are present the given subcontext.
NamingEnumeration
NamingEnumeration
Creates and returns the enumeration over the name - object bindings that are present the given subcontext.
NamingEnumeration
Object
Gets the previously named object by name.
Object
Object
Retrieves the named object, not following the link of the terminal atomic component of the name.
Object
void
Context.rebind(Name name, Object obj)
Give the specified name for the specified object.
void
void
Context.rename(Name oldName, Name newName)
Renames the existing binding, removing the existing and giving the new name for the same object.
void
InitialContext.rename(Name oldName, Name newName)
void
void
void
void
Sets the part of the name that could be resolved before this exception happend.
void
void
Sets the part of the name that could be resolved before this exception happend.
boolean
boolean
boolean
Returns true if this Name starts with the components of the given Name, false otherwise.
void
Removes the name - object mapping from the current context.
void

Methods with return type javax.naming.Name

Name
CompositeName.add(int posn, String comp)
Name
CompoundName.add(int posn, String comp)
Name
Name.add(int posn, String comp)
Inserts the given String component to this Name at the given index.
Name
Name
Name
Name.add(String comp)
Adds the given String component to the end of this Name.
Name
CompositeName.addAll(int posn, Name n)
Name
CompoundName.addAll(int posn, Name n)
Name
Name.addAll(int posn, Name n)
Inserts all the components of the given Name to this Name at the given index.
Name
Name
Name
Name.addAll(Name suffix)
Adds all the components of the given Name to the end of this Name.
Name
Context.composeName(Name name, Name prefix)
Composes the name of this context together with another name, related to this context.
Name
Name
Name
Name
Name
Name
Name
Name.getPrefix(int posn)
Returns the components till the given index as a Name.
Name
Gets the part of the name that could not be resolved before this exception happend.
Name
Name
Gets the part of the name that could be resolved before this exception happend.
Name
Name
Name
Name.getSuffix(int posn)
Returns the components from the given index till the end as a Name.
Name
Parser the string name representation into the Name representation

Uses in package javax.naming.directory

Methods with parameter type javax.naming.Name

void
DirContext.bind(Name name, Object obj, Attributes attrs)
void
DirContext
DirContext
Attributes
Attributes
Attributes
DirContext.getAttributes(Name name, String[] attrIds)
Attributes
DirContext
DirContext
DirContext
DirContext
void
DirContext.modifyAttributes(Name name, int mod_op, Attributes attrs)
void
void
void
void
DirContext.rebind(Name name, Object obj, Attributes attrs)
void
NamingEnumeration
DirContext.search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration
InitialDirContext.search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration
DirContext.search(Name name, String filter, SearchControls cons)
NamingEnumeration
NamingEnumeration
DirContext.search(Name name, Attributes matchingAttributes)
NamingEnumeration
InitialDirContext.search(Name name, Attributes matchingAttributes)
NamingEnumeration
DirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration
InitialDirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)

Uses in package javax.naming.spi

Constructors with parameter type javax.naming.Name

ResolveResult.ResolveResult(Object resolved, Name remaining)
Create the initialised instance

Fields of type javax.naming.Name

Name
The remaining, unresolved part of the name.

Methods with parameter type javax.naming.Name

void
Append the name to the end of the resolved name.
Object
NamingManager.getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable environment)
Creates an object for the specified name context, environment and referencing context object.

If the builder factory is set by setObjectFactoryBuilder(ObjectFactoryBuilder), the call is delegated to that factory.

Object
ObjectFactory.getObjectInstance(Object refObj, Name name, Context nameCtx, Hashtable environment)
Creates the object, using the specified name and location information.
Object
DirectoryManager.getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable environment, Attributes attrs)
Object
DirObjectFactory.getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes attrs)
Object
NamingManager.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment)
Get the object state for binding.
Object
StateFactory.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment)
Get the object state for binding.
DirStateFactory.Result
DirectoryManager.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes attrs)
DirStateFactory.Result
DirStateFactory.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes inAttrs)
ResolveResult
Resolver.resolveToClass(Name name, Context> contextType)
void
Set the remaining unresolved name.

Methods with return type javax.naming.Name

Name
Get the remaining unresolved part of the name

Uses in package javax.naming.event

Methods with parameter type javax.naming.Name

void
void
void