Uses of Interface
javax.naming.Name
-
Packages that use Name Package Description javax.naming Provides the classes and interfaces for accessing naming services.javax.naming.directory Extends thejavax.namingpackage 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 Provides the means for dynamically plugging in support for accessing naming and directory services through thejavax.namingand related packages. -
-
Uses of Name in javax.naming
Classes in javax.naming that implement Name Modifier and Type Class Description classCompositeNameThis class represents a composite name -- a sequence of component names spanning multiple namespaces.classCompoundNameThis class represents a compound name -- a name from a hierarchical name space.Fields in javax.naming declared as Name Modifier and Type Field Description protected NameCannotProceedException. altNameContains the name of the resolved object, relative to the contextaltNameCtx.protected NameLinkException. linkRemainingNameContains the remaining link name that has not been resolved yet.protected NameLinkException. linkResolvedNameContains the part of the link that has been successfully resolved.protected NameNamingException. remainingNameContains the remaining name that has not been resolved yet.protected NameCannotProceedException. remainingNewNameContains the remaining unresolved part of the second "name" argument to Context.rename().protected NameNamingException. resolvedNameContains the part of the name that has been successfully resolved.Methods in javax.naming that return Name Modifier and Type Method Description NameCompositeName. add(int posn, String comp)Adds a single component at a specified position within this composite name.NameCompositeName. add(String comp)Adds a single component to the end of this composite name.NameCompoundName. add(int posn, String comp)Adds a single component at a specified position within this compound name.NameCompoundName. add(String comp)Adds a single component to the end of this compound name.NameName. add(int posn, String comp)Adds a single component at a specified position within this name.NameName. add(String comp)Adds a single component to the end of this name.NameCompositeName. addAll(int posn, Name n)Adds the components of a composite name -- in order -- at a specified position within this composite name.NameCompositeName. addAll(Name suffix)Adds the components of a composite name -- in order -- to the end of this composite name.NameCompoundName. addAll(int posn, Name n)Adds the components of a compound name -- in order -- at a specified position within this compound name.NameCompoundName. addAll(Name suffix)Adds the components of a compound name -- in order -- to the end of this compound name.NameName. addAll(int posn, Name n)Adds the components of a name -- in order -- at a specified position within this name.NameName. addAll(Name suffix)Adds the components of a name -- in order -- to the end of this name.NameContext. composeName(Name name, Name prefix)Composes the name of this context with a name relative to this context.NameInitialContext. composeName(Name name, Name prefix)Composes the name of this context with a name relative to this context.NameCannotProceedException. getAltName()Retrieves thealtNamefield of this exception.NameLinkException. getLinkRemainingName()Retrieves the remaining unresolved portion of the link name.NameLinkException. getLinkResolvedName()Retrieves the leading portion of the link name that was resolved successfully.NameCompositeName. getPrefix(int posn)Creates a composite name whose components consist of a prefix of the components in this composite name.NameCompoundName. getPrefix(int posn)Creates a compound name whose components consist of a prefix of the components in this compound name.NameName. getPrefix(int posn)Creates a name whose components consist of a prefix of the components of this name.NameNamingException. getRemainingName()Retrieves the remaining unresolved portion of the name.NameCannotProceedException. getRemainingNewName()Retrieves the "remaining new name" field of this exception, which is used when this exception is thrown during a rename() operation.NameNamingException. getResolvedName()Retrieves the leading portion of the name that was resolved successfully.NameCompositeName. getSuffix(int posn)Creates a composite name whose components consist of a suffix of the components in this composite name.NameCompoundName. getSuffix(int posn)Creates a compound name whose components consist of a suffix of the components in this compound name.NameName. getSuffix(int posn)Creates a name whose components consist of a suffix of the components in this name.NameNameParser. parse(String name)Parses a name into its components.Methods in javax.naming with parameters of type Name Modifier and Type Method Description NameCompositeName. addAll(int posn, Name n)Adds the components of a composite name -- in order -- at a specified position within this composite name.NameCompositeName. addAll(Name suffix)Adds the components of a composite name -- in order -- to the end of this composite name.NameCompoundName. addAll(int posn, Name n)Adds the components of a compound name -- in order -- at a specified position within this compound name.NameCompoundName. addAll(Name suffix)Adds the components of a compound name -- in order -- to the end of this compound name.NameName. addAll(int posn, Name n)Adds the components of a name -- in order -- at a specified position within this name.NameName. addAll(Name suffix)Adds the components of a name -- in order -- to the end of this name.voidNamingException. appendRemainingName(Name name)Add components from 'name' as the last components in remaining name.voidContext. bind(Name name, Object obj)Binds a name to an object.voidInitialContext. bind(Name name, Object obj)NameContext. composeName(Name name, Name prefix)Composes the name of this context with a name relative to this context.NameInitialContext. composeName(Name name, Name prefix)Composes the name of this context with a name relative to this context.ContextContext. createSubcontext(Name name)Creates and binds a new context.ContextInitialContext. createSubcontext(Name name)voidContext. destroySubcontext(Name name)Destroys the named context and removes it from the namespace.voidInitialContext. destroySubcontext(Name name)static <T> TInitialContext. doLookup(Name name)A static method to retrieve the named object.booleanCompositeName. endsWith(Name n)Determines whether a composite name is a suffix of this composite name.booleanCompoundName. endsWith(Name n)Determines whether a compound name is a suffix of this compound name.booleanName. endsWith(Name n)Determines whether this name ends with a specified suffix.NameParserContext. getNameParser(Name name)Retrieves the parser associated with the named context.NameParserInitialContext. getNameParser(Name name)protected ContextInitialContext. getURLOrDefaultInitCtx(Name name)Retrieves a context for resolvingname.NamingEnumeration<NameClassPair>Context. list(Name name)Enumerates the names bound in the named context, along with the class names of objects bound to them.NamingEnumeration<NameClassPair>InitialContext. list(Name name)NamingEnumeration<Binding>Context. listBindings(Name name)Enumerates the names bound in the named context, along with the objects bound to them.NamingEnumeration<Binding>InitialContext. listBindings(Name name)ObjectContext. lookup(Name name)Retrieves the named object.ObjectInitialContext. lookup(Name name)ObjectContext. lookupLink(Name name)Retrieves the named object, following links except for the terminal atomic component of the name.ObjectInitialContext. lookupLink(Name name)voidContext. rebind(Name name, Object obj)Binds a name to an object, overwriting any existing binding.voidInitialContext. rebind(Name name, Object obj)voidContext. rename(Name oldName, Name newName)Binds a new name to the object bound to an old name, and unbinds the old name.voidInitialContext. rename(Name oldName, Name newName)voidCannotProceedException. setAltName(Name altName)Sets thealtNamefield of this exception.voidLinkException. setLinkRemainingName(Name name)Sets the remaining link name field of this exception.voidLinkException. setLinkResolvedName(Name name)Sets the resolved link name field of this exception.voidNamingException. setRemainingName(Name name)Sets the remaining name field of this exception.voidCannotProceedException. setRemainingNewName(Name newName)Sets the "remaining new name" field of this exception.voidNamingException. setResolvedName(Name name)Sets the resolved name field of this exception.booleanCompositeName. startsWith(Name n)Determines whether a composite name is a prefix of this composite name.booleanCompoundName. startsWith(Name n)Determines whether a compound name is a prefix of this compound name.booleanName. startsWith(Name n)Determines whether this name starts with a specified prefix.voidContext. unbind(Name name)Unbinds the named object.voidInitialContext. unbind(Name name)Constructors in javax.naming with parameters of type Name Constructor Description 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 Modifier and Type Method Description voidDirContext. bind(Name name, Object obj, Attributes attrs)Binds a name to an object, along with associated attributes.voidInitialDirContext. bind(Name name, Object obj, Attributes attrs)DirContextDirContext. createSubcontext(Name name, Attributes attrs)Creates and binds a new context, along with associated attributes.DirContextInitialDirContext. createSubcontext(Name name, Attributes attrs)AttributesDirContext. getAttributes(Name name)Retrieves all of the attributes associated with a named object.AttributesDirContext. getAttributes(Name name, String[] attrIds)Retrieves selected attributes associated with a named object.AttributesInitialDirContext. getAttributes(Name name)AttributesInitialDirContext. getAttributes(Name name, String[] attrIds)DirContextDirContext. getSchema(Name name)Retrieves the schema associated with the named object.DirContextInitialDirContext. getSchema(Name name)DirContextDirContext. getSchemaClassDefinition(Name name)Retrieves a context containing the schema objects of the named object's class definitions.DirContextInitialDirContext. getSchemaClassDefinition(Name name)voidDirContext. modifyAttributes(Name name, int mod_op, Attributes attrs)Modifies the attributes associated with a named object.voidDirContext. modifyAttributes(Name name, ModificationItem[] mods)Modifies the attributes associated with a named object using an ordered list of modifications.voidInitialDirContext. modifyAttributes(Name name, int mod_op, Attributes attrs)voidInitialDirContext. modifyAttributes(Name name, ModificationItem[] mods)voidDirContext. rebind(Name name, Object obj, Attributes attrs)Binds a name to an object, along with associated attributes, overwriting any existing binding.voidInitialDirContext. rebind(Name name, Object obj, Attributes attrs)NamingEnumeration<SearchResult>DirContext. search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)Searches in the named context or object for entries that satisfy the given search filter.NamingEnumeration<SearchResult>DirContext. search(Name name, String filter, SearchControls cons)Searches in the named context or object for entries that satisfy the given search filter.NamingEnumeration<SearchResult>DirContext. search(Name name, Attributes matchingAttributes)Searches in a single context for objects that contain a specified set of attributes.NamingEnumeration<SearchResult>DirContext. search(Name name, Attributes matchingAttributes, String[] attributesToReturn)Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.NamingEnumeration<SearchResult>InitialDirContext. search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)NamingEnumeration<SearchResult>InitialDirContext. search(Name name, String filter, SearchControls cons)NamingEnumeration<SearchResult>InitialDirContext. search(Name name, Attributes matchingAttributes)NamingEnumeration<SearchResult>InitialDirContext. search(Name name, Attributes matchingAttributes, String[] attributesToReturn) -
Uses of Name in javax.naming.event
Methods in javax.naming.event with parameters of type Name Modifier and Type Method Description voidEventContext. addNamingListener(Name target, int scope, NamingListener l)Adds a listener for receiving naming events fired when the object(s) identified by a target and scope changes.voidEventDirContext. addNamingListener(Name target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l)Adds a listener for receiving naming events fired when objects identified by the search filterfilterand filter arguments at the object named by the target are modified.voidEventDirContext. addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l)Adds a listener for receiving naming events fired when objects identified by the search filterfilterat the object named by target are modified. -
Uses of Name in javax.naming.ldap
Classes in javax.naming.ldap that implement Name Modifier and Type Class Description classLdapNameThis class represents a distinguished name as specified by RFC 2253.Methods in javax.naming.ldap that return Name Modifier and Type Method Description NameLdapName. add(int posn, String comp)Adds a single component at a specified position within this LDAP name.NameLdapName. add(int posn, Rdn comp)Adds a single RDN at a specified position within this LDAP name.NameLdapName. add(String comp)Adds a single component to the end of this LDAP name.NameLdapName. add(Rdn comp)Adds a single RDN to the end of this LDAP name.NameLdapName. addAll(int posn, List<Rdn> suffixRdns)Adds the RDNs of a name -- in order -- at a specified position within this name.NameLdapName. addAll(int posn, Name suffix)Adds the components of a name -- in order -- at a specified position within this name.NameLdapName. addAll(List<Rdn> suffixRdns)Adds the RDNs of a name -- in order -- to the end of this name.NameLdapName. addAll(Name suffix)Adds the components of a name -- in order -- to the end of this name.NameLdapName. getPrefix(int posn)Creates a name whose components consist of a prefix of the components of this LDAP name.NameLdapName. getSuffix(int posn)Creates a name whose components consist of a suffix of the components in this LDAP name.Methods in javax.naming.ldap with parameters of type Name Modifier and Type Method Description NameLdapName. addAll(int posn, Name suffix)Adds the components of a name -- in order -- at a specified position within this name.NameLdapName. addAll(Name suffix)Adds the components of a name -- in order -- to the end of this name.booleanLdapName. endsWith(Name n)Determines whether this LDAP name ends with a specified LDAP name suffix.booleanLdapName. startsWith(Name n)Determines whether this LDAP name starts with a specified LDAP name prefix. -
Uses of Name in javax.naming.spi
Fields in javax.naming.spi declared as Name Modifier and Type Field Description protected NameResolveResult. remainingNameField containing the remaining name yet to be resolved.Methods in javax.naming.spi that return Name Modifier and Type Method Description NameResolveResult. getRemainingName()Retrieves the remaining unresolved portion of the name.Methods in javax.naming.spi with parameters of type Name Modifier and Type Method Description voidResolveResult. appendRemainingName(Name name)Adds components to the end of remaining name.static ObjectDirectoryManager. getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)Creates an instance of an object for the specified object, attributes, and environment.ObjectDirObjectFactory. getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)Creates an object using the location or reference information, and attributes specified.static ObjectNamingManager. getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable<?,?> environment)Creates an instance of an object for the specified object and environment.ObjectObjectFactory. getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)Creates an object using the location or reference information specified.static DirStateFactory.ResultDirectoryManager. getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)Retrieves the state of an object for binding when given the original object and its attributes.DirStateFactory.ResultDirStateFactory. getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes inAttrs)Retrieves the state of an object for binding given the object and attributes to be transformed.static ObjectNamingManager. getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)Retrieves the state of an object for binding.ObjectStateFactory. getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)Retrieves the state of an object for binding.ResolveResultResolver. resolveToClass(Name name, Class<? extends Context> contextType)Partially resolves a name.voidResolveResult. setRemainingName(Name name)Sets the remaining name field of this result to name.Constructors in javax.naming.spi with parameters of type Name Constructor Description ResolveResult(Object robj, Name rname)Constructs a new instance of ResolveResult consisting of the resolved Object and the remaining name.
-