## Uses of Interface
javax.naming.directory.DirContext

Packages that use DirContext
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: Provides the means for dynamically plugging in support for accessing naming and directory services through the `javax.naming` and related packages.

### Uses of DirContext in javax.naming.directory

Classes in javax.naming.directory that implement DirContext
`class` `InitialDirContext` This class is the starting context for performing directory operations.

Methods in javax.naming.directory that return DirContext
`DirContext` DirContext.`createSubcontext​(String name, Attributes attrs)` Creates and binds a new context, along with associated attributes.
`DirContext` DirContext.`createSubcontext​(Name 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` DirContext.`getSchema​(String name)` Retrieves the schema associated with the named object.
`DirContext` DirContext.`getSchema​(Name name)` Retrieves the schema associated with the named object.
`DirContext` DirContext.`getSchemaClassDefinition​(String name)` Retrieves a context containing the schema objects of the named object's class definitions.
`DirContext` DirContext.`getSchemaClassDefinition​(Name name)` Retrieves a context containing the schema objects of the named object's class definitions.

### Uses of DirContext in javax.naming.event

Subinterfaces of DirContext in javax.naming.event
`interface` `EventDirContext` Contains methods for registering listeners to be notified of events fired when objects named in a directory context changes.

### Uses of DirContext in javax.naming.ldap

Subinterfaces of DirContext in javax.naming.ldap
`interface` `LdapContext` This interface represents a context in which you can perform operations with LDAPv3-style controls and perform LDAPv3-style extended operations.

Classes in javax.naming.ldap that implement DirContext
`class` `InitialLdapContext` This class is the starting context for performing LDAPv3-style extended operations and controls.

### Uses of DirContext in javax.naming.spi

Methods in javax.naming.spi that return DirContext
`static DirContext` DirectoryManager.`getContinuationDirContext​(CannotProceedException cpe)` Creates a context in which to continue a `DirContext` operation.