Uses of Interface javax.naming.directory.DirContext (Java Platform SE 8 )
Date: 2016-12-09

## 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 |

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

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

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

    Subinterfaces of DirContext in javax.naming.event
    Modifier and Type | Interface and 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 and 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 and 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 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.