org.springframework.ldap.pool

## Class DirContextType

- java.lang.Object
- - org.springframework.ldap.pool.DirContextType

-     public final class DirContextType
      extends Object

  An enum representing the two types of `DirContext`s that can be returned by a `ContextSource`.
  Author:
    Eric Dalquist

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static DirContextType` | `READ_ONLY` The type of `DirContext` returned by `ContextSource.getReadOnlyContext()`
    `static DirContextType` | `READ_WRITE` The type of `DirContext` returned by `ContextSource.getReadWriteContext()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### READ_ONLY

          public static final DirContextType READ_ONLY

      The type of `DirContext` returned by `ContextSource.getReadOnlyContext()`

    - #### READ_WRITE

          public static final DirContextType READ_WRITE

      The type of `DirContext` returned by `ContextSource.getReadWriteContext()`

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`