# Package org.springframework.ldap.pool2

Base classes for the pooling library based on commons-pool2 library.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  FailureAwareContext |

- Class Summary
  Class | Description
  --- | ---
  DelegatingContext | Used by `PooledContextSource` to wrap a `Context`, delegating most methods to the underlying context, retains a reference to the pool the context was checked out from and returns itself to the pool when `DelegatingContext.close()` is called.
  DelegatingDirContext | Used by `PooledContextSource` to wrap a `DirContext`, delegating most methods to the underlying context.
  DelegatingLdapContext | Used by `PooledContextSource` to wrap a `LdapContext`, delegating most methods to the underlying context.
  DirContextType | An enum representing the two types of `DirContext`s that can be returned by a `ContextSource`.
  MutableDelegatingLdapContext | Used by `MutablePooledContextSource` to wrap a `LdapContext`, delegating most methods to the underlying context.

## Package org.springframework.ldap.pool2 Description

Base classes for the pooling library based on commons-pool2 library.