Package | Description |
---|---|
javax.naming.directory |
Extends the javax.naming package to provide functionality
for accessing directory services.
|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
javax.naming.spi |
Modifier and Type | Class and Description |
---|---|
class |
BasicAttributes
This class provides a basic implementation
of the Attributes interface.
|
Modifier and Type | Method and Description |
---|---|
Attributes |
SearchResult.getAttributes()
Retrieves the attributes in this search result.
|
Attributes |
InitialDirContext.getAttributes(Name name) |
Attributes |
DirContext.getAttributes(Name name)
Retrieves all of the attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(Name name,
String[] attrIds) |
Attributes |
DirContext.getAttributes(Name name,
String[] attrIds)
Retrieves selected attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(String name) |
Attributes |
DirContext.getAttributes(String name)
Retrieves all of the attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(String name,
String[] attrIds) |
Attributes |
DirContext.getAttributes(String name,
String[] attrIds)
Retrieves selected attributes associated with a named object.
|
Modifier and Type | Method and Description |
---|---|
void |
InitialDirContext.bind(Name name,
Object obj,
Attributes attrs) |
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 |
DirContext.bind(String name,
Object obj,
Attributes attrs)
Binds a name to an object, along with associated attributes.
|
DirContext |
InitialDirContext.createSubcontext(Name name,
Attributes attrs) |
DirContext |
DirContext.createSubcontext(Name name,
Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
DirContext |
InitialDirContext.createSubcontext(String name,
Attributes attrs) |
DirContext |
DirContext.createSubcontext(String name,
Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
void |
InitialDirContext.modifyAttributes(Name name,
int mod_op,
Attributes attrs) |
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 |
DirContext.modifyAttributes(String name,
int mod_op,
Attributes attrs)
Modifies the attributes associated with a named object.
|
void |
InitialDirContext.rebind(Name name,
Object obj,
Attributes attrs) |
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 |
DirContext.rebind(String name,
Object obj,
Attributes attrs)
Binds a name to an object, along with associated attributes,
overwriting any existing binding.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name,
Attributes matchingAttributes) |
NamingEnumeration<SearchResult> |
DirContext.search(Name name,
Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name,
Attributes matchingAttributes,
String[] attributesToReturn) |
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(String name,
Attributes matchingAttributes) |
NamingEnumeration<SearchResult> |
DirContext.search(String name,
Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration<SearchResult> |
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.
|
void |
SearchResult.setAttributes(Attributes attrs)
Sets the attributes of this search result to
attrs . |
Constructor and Description |
---|
SearchResult(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.
|
Modifier and Type | Method and Description |
---|---|
Attributes |
Rdn.toAttributes()
Retrieves the
Attributes
view of the type/value mappings contained in this Rdn. |
Constructor and Description |
---|
Rdn(Attributes attrSet)
Constructs an Rdn from the given attribute set.
|
Modifier and Type | Method and Description |
---|---|
Attributes |
DirStateFactory.Result.getAttributes()
Retrieves the attributes to be bound.
|
Modifier and Type | Method and Description |
---|---|
Object |
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 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.
|
DirStateFactory.Result |
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.
|
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.
|
Constructor and Description |
---|
Result(Object obj,
Attributes outAttrs)
Constructs an instance of Result.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.