Uses of Interface javax.naming.directory.DirContext (Java SE 17 & JDK 17)
Description: use: module: java.naming, package: javax.naming.directory, interface: DirContext

# Uses of Interface
javax.naming.directory.DirContext

Packages that use DirContext
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
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
  Modifier and Type
  Class
  Description
  `class`
  `InitialDirContext`
  This class is the starting context for performing directory operations.
  Methods in javax.naming.directory that return DirContext
  Modifier and Type
  Method
  Description
  `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`
  InitialDirContext.`createSubcontext(String name, Attributes attrs)`
  `DirContext`
  InitialDirContext.`createSubcontext(Name name, Attributes attrs)`
  `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`
  InitialDirContext.`getSchema(String name)`
  `DirContext`
  InitialDirContext.`getSchema(Name name)`
  `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.
  `DirContext`
  InitialDirContext.`getSchemaClassDefinition(String name)`
  `DirContext`
  InitialDirContext.`getSchemaClassDefinition(Name name)`

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

  Subinterfaces of DirContext in javax.naming.event
  Modifier and Type
  Interface
  Description
  `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
  Modifier and Type
  Interface
  Description
  `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
  Modifier and Type
  Class
  Description
  `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
  Modifier and Type
  Method
  Description
  `static DirContext`
  DirectoryManager.`getContinuationDirContext(CannotProceedException cpe)`
  Creates a context in which to continue a `DirContext` operation.