Uses of Interface
javax.naming.directory.Attributes
Package
Description
Extends the
javax.naming
package to provide functionality
for accessing directory services.Provides support for LDAPv3 extended operations and controls.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages.-
Uses of Attributes in javax.naming.directory
Modifier and TypeClassDescriptionclass
This class provides a basic implementation of the Attributes interface.Modifier and TypeMethodDescriptionDirContext.getAttributes
(String name) Retrieves all of the attributes associated with a named object.DirContext.getAttributes
(String name, String[] attrIds) Retrieves selected attributes associated with a named object.DirContext.getAttributes
(Name name) Retrieves all of the attributes associated with a named object.DirContext.getAttributes
(Name name, String[] attrIds) Retrieves selected attributes associated with a named object.InitialDirContext.getAttributes
(String name) InitialDirContext.getAttributes
(String name, String[] attrIds) InitialDirContext.getAttributes
(Name name) InitialDirContext.getAttributes
(Name name, String[] attrIds) SearchResult.getAttributes()
Retrieves the attributes in this search result.Modifier and TypeMethodDescriptionvoid
DirContext.bind
(String name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes.void
DirContext.bind
(Name name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes.void
InitialDirContext.bind
(String name, Object obj, Attributes attrs) void
InitialDirContext.bind
(Name name, Object obj, Attributes attrs) DirContext.createSubcontext
(String name, Attributes attrs) Creates and binds a new context, along with associated attributes.DirContext.createSubcontext
(Name name, Attributes attrs) Creates and binds a new context, along with associated attributes.InitialDirContext.createSubcontext
(String name, Attributes attrs) InitialDirContext.createSubcontext
(Name name, Attributes attrs) void
DirContext.modifyAttributes
(String name, int mod_op, Attributes attrs) Modifies the 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
InitialDirContext.modifyAttributes
(String name, int mod_op, Attributes attrs) void
InitialDirContext.modifyAttributes
(Name name, int mod_op, Attributes attrs) void
DirContext.rebind
(String name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes, overwriting any existing binding.void
DirContext.rebind
(Name name, Object obj, Attributes attrs) Binds a name to an object, along with associated attributes, overwriting any existing binding.void
InitialDirContext.rebind
(String name, Object obj, Attributes attrs) void
InitialDirContext.rebind
(Name name, Object obj, Attributes attrs) DirContext.search
(String name, Attributes matchingAttributes) Searches in a single context for objects that contain a specified set of attributes.DirContext.search
(String name, Attributes matchingAttributes, String[] attributesToReturn) Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.DirContext.search
(Name name, Attributes matchingAttributes) Searches in a single context for objects that contain a specified set of attributes.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.InitialDirContext.search
(String name, Attributes matchingAttributes) InitialDirContext.search
(String name, Attributes matchingAttributes, String[] attributesToReturn) InitialDirContext.search
(Name name, Attributes matchingAttributes) InitialDirContext.search
(Name name, Attributes matchingAttributes, String[] attributesToReturn) void
SearchResult.setAttributes
(Attributes attrs) Sets the attributes of this search result toattrs
.ModifierConstructorDescriptionSearchResult
(String name, Object obj, Attributes attrs) Constructs a search result using the result's name, its bound object, and its attributes.SearchResult
(String name, Object obj, Attributes attrs, boolean isRelative) Constructs a search result using the result's name, its bound object, and its attributes, and whether the name is relative.SearchResult
(String name, String className, Object obj, Attributes attrs) Constructs a search result using the result's name, its class name, its bound object, and its attributes.SearchResult
(String name, String className, Object obj, Attributes attrs, boolean isRelative) Constructs a search result using the result's name, its class name, its bound object, its attributes, and whether the name is relative. -
Uses of Attributes in javax.naming.ldap
Modifier and TypeMethodDescriptionRdn.toAttributes()
Retrieves theAttributes
view of the type/value mappings contained in this Rdn.ModifierConstructorDescriptionRdn
(Attributes attrSet) Constructs an Rdn from the given attribute set. -
Uses of Attributes in javax.naming.spi
Modifier and TypeMethodDescriptionDirStateFactory.Result.getAttributes()
Retrieves the attributes to be bound.Modifier and TypeMethodDescriptionstatic Object
DirectoryManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an instance of an object for the specified object, attributes, and environment.DirObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an object using the location or reference information, and attributes specified.static DirStateFactory.Result
DirectoryManager.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.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.ModifierConstructorDescriptionResult
(Object obj, Attributes outAttrs) Constructs an instance of Result.