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, getTestOnBorrow, getTestOnReturn, getTestWhileIdle, getTimeBetweenEvictionRunsMillis, getWhenExhaustedAction, setContextSource, setDirContextValidator, setMaxActive, setMaxIdle, setMaxTotal, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNumTestsPerEvictionRun, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setWhenExhaustedAction
protected DirContext getContext(DirContextType dirContextType)
PoolingContextSource
getContext
in class PoolingContextSource
dirContextType
- The type of context to return.Copyright © 2005–2015 The Spring LDAP Framework. All rights reserved.