## Uses of Class
javax.naming.directory.SearchControls

- Packages that use SearchControls
  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.

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

    Methods in javax.naming.directory with parameters of type SearchControls
    Modifier and Type | Method and Description
    --- | ---
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)`
    `NamingEnumeration<SearchResult>` | DirContext.`search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)` Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search(Name name, String filter, SearchControls cons)`
    `NamingEnumeration<SearchResult>` | DirContext.`search(Name name, String filter, SearchControls cons)` Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)`
    `NamingEnumeration<SearchResult>` | DirContext.`search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)` Searches in the named context or object for entries that satisfy the given search filter.
    `NamingEnumeration<SearchResult>` | InitialDirContext.`search(String name, String filter, SearchControls cons)`
    `NamingEnumeration<SearchResult>` | DirContext.`search(String name, String filter, SearchControls cons)` Searches in the named context or object for entries that satisfy the given search filter.

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

    Methods in javax.naming.event with parameters of type SearchControls
    Modifier and Type | Method and Description
    --- | ---
    `void` | EventDirContext.`addNamingListener(Name target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l)` Adds a listener for receiving naming events fired when objects identified by the search filter `filter` and filter arguments at the object named by the target are modified.
    `void` | EventDirContext.`addNamingListener(Name target, String filter, SearchControls ctls, NamingListener l)` Adds a listener for receiving naming events fired when objects identified by the search filter `filter` at the object named by target are modified.
    `void` | EventDirContext.`addNamingListener(String target, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l)` Adds a listener for receiving naming events fired when objects identified by the search filter `filter` and filter arguments at the object named by the string target name are modified.
    `void` | EventDirContext.`addNamingListener(String target, String filter, SearchControls ctls, NamingListener l)` Adds a listener for receiving naming events fired when objects identified by the search filter `filter` at the object named by the string target name are modified.

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, 2015, Oracle and/or its affiliates. All rights reserved.