| Package | Description | 
|---|---|
| javax.naming.directory | Extends the javax.naming package 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 | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InitialDirContextThis class is the starting context for performing
 directory operations. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| DirContext | Attribute. getAttributeDefinition()Retrieves the attribute's schema definition. | 
| DirContext | BasicAttribute. getAttributeDefinition()Retrieves this attribute's schema definition. | 
| DirContext | Attribute. getAttributeSyntaxDefinition()Retrieves the syntax definition associated with the attribute. | 
| DirContext | BasicAttribute. getAttributeSyntaxDefinition()Retrieves the syntax definition associated with this attribute. | 
| DirContext | InitialDirContext. getSchema(Name name) | 
| DirContext | DirContext. getSchema(Name name)Retrieves the schema associated with the named object. | 
| DirContext | InitialDirContext. getSchema(String name) | 
| DirContext | DirContext. getSchema(String name)Retrieves the schema associated with the named object. | 
| DirContext | InitialDirContext. getSchemaClassDefinition(Name name) | 
| DirContext | DirContext. getSchemaClassDefinition(Name name)Retrieves a context containing the schema objects of the
 named object's class definitions. | 
| DirContext | InitialDirContext. getSchemaClassDefinition(String name) | 
| DirContext | DirContext. getSchemaClassDefinition(String name)Retrieves a context containing the schema objects of the
 named object's class definitions. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | EventDirContextContains methods for registering listeners to be notified
 of events fired when objects named in a directory context changes. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | LdapContextThis interface represents a context in which you can perform
 operations with LDAPv3-style controls and perform LDAPv3-style
 extended operations. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InitialLdapContextThis class is the starting context for performing
 LDAPv3-style extended operations and controls. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DirContext | DirectoryManager. getContinuationDirContext(CannotProceedException cpe)Creates a context in which to continue a DirContext operation. | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.