クラス MutablePooledContextSource
java.lang.ObjectSE
org.springframework.ldap.core.support.DelegatingBaseLdapPathContextSourceSupport
org.springframework.ldap.pool2.factory.PooledContextSource
org.springframework.ldap.pool2.factory.MutablePooledContextSource
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.DisposableBean, ContextSource, BaseLdapPathSource
MutableDelegatingLdapContext インスタンスを作成する PooledContextSource サブクラス。これにより、Spring LDAP プーリングを、ページングされた結果などのリクエスト制御の設定が必要なシナリオで使用できるようになります。- 導入:
- 2.0
フィールド概要
クラス PooledContextSource から継承されたフィールド
keyedObjectPool, loggerコンストラクター概要
コンストラクターコンストラクター説明MutablePooledContextSource(PoolConfig poolConfig) 新しいプーリングコンテキストソースを作成し、DirContext オブジェクトファクトリと汎用のキー付きオブジェクトプールを設定します。方法の概要
修飾子と型メソッド説明protected DirContextSEgetContext(DirContextType dirContextType) キー付きオブジェクトプールから、指定された型の DirContext を取得します。クラス PooledContextSource から継承されたメソッド
destroy, getContext, getContextSource, getDirContextValidator, getNumActive, getNumActiveRead, getNumActiveWrite, getNumIdle, getNumIdleRead, getNumIdleWrite, getNumWaiters, getPoolConfig, getReadOnlyContext, getReadWriteContext, getTarget, setContextSource, setDirContextValidator, setNonTransientExceptions
コンストラクターの詳細
MutablePooledContextSource
新しいプーリングコンテキストソースを作成し、DirContext オブジェクトファクトリと汎用のキー付きオブジェクトプールを設定します。- パラメーター:
poolConfig- 設定するプール構成。
メソッドの詳細
getContext
クラスからコピーされた説明:PooledContextSourceキー付きオブジェクトプールから、指定された型の DirContext を取得します。- オーバーライド:
- クラス
PooledContextSourceのgetContext - パラメーター:
dirContextType- 返すコンテキストの型。- 戻り値:
- 指定された型のラップされた DirContext。