Class MutablePoolingContextSource

All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, ContextSource, BaseLdapPathSource

public class MutablePoolingContextSource extends PoolingContextSource
A PoolingContextSource subclass that creates MutableDelegatingLdapContext instances. This enables the Spring LDAP pooling to be used in scenarios that require request controls to be set, such as paged results.

Request controls set through the returned context are written through to the pooled connection, so they are per-borrower state: they are cleared when the context is closed and returned to the pool, and must be set again by the next borrower.

  • Constructor Details

    • MutablePoolingContextSource

      public MutablePoolingContextSource()
  • Method Details