public class MutablePoolingContextSource extends PoolingContextSource
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.keyedObjectPool, logger
Constructor and Description |
---|
MutablePoolingContextSource() |
Modifier and Type | Method and Description |
---|---|
protected DirContext |
getContext(DirContextType dirContextType)
Gets a DirContext of the specified type from the keyed object pool.
|
destroy, getContext, getContextSource, getDirContextValidator, getMaxActive, getMaxIdle, getMaxTotal, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getNumActive, getNumIdle, getNumTestsPerEvictionRun, getReadOnlyContext, getReadWriteContext, getTarget, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getWhenExhaustedAction, setContextSource, setDirContextValidator, setMaxActive, setMaxIdle, setMaxTotal, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNonTransientExceptions, setNumTestsPerEvictionRun, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setWhenExhaustedAction
getBaseLdapName, getBaseLdapPath, getBaseLdapPathAsString
protected DirContext getContext(DirContextType dirContextType)
PoolingContextSource
getContext
in class PoolingContextSource
dirContextType
- The type of context to return.