クラス 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
フィールドのサマリー
クラス org.springframework.ldap.pool2.factory.PooledContextSource から継承されたフィールド
keyedObjectPool, loggerコンストラクターの概要
コンストラクターコンストラクター説明MutablePooledContextSource(PoolConfig poolConfig) 新しいプーリングコンテキストソースを作成し、DirContext オブジェクトファクトリと汎用のキー付きオブジェクトプールを設定します。メソッドのサマリー
修飾子と型メソッド説明protected DirContextSEgetContext(DirContextType dirContextType) キー付きオブジェクトプールから、指定された型の DirContext を取得します。クラス org.springframework.ldap.pool2.factory.PooledContextSource から継承されたメソッド
destroy, getContext, getContextSource, getDirContextValidator, getNumActive, getNumActiveRead, getNumActiveWrite, getNumIdle, getNumIdleRead, getNumIdleWrite, getNumWaiters, getPoolConfig, getReadOnlyContext, getReadWriteContext, getTarget, setContextSource, setDirContextValidator, setNonTransientExceptionsクラス org.springframework.ldap.core.support.DelegatingBaseLdapPathContextSourceSupport から継承されたメソッド
getBaseLdapName, getBaseLdapPath, getBaseLdapPathAsString
コンストラクターの詳細
MutablePooledContextSource
新しいプーリングコンテキストソースを作成し、DirContext オブジェクトファクトリと汎用のキー付きオブジェクトプールを設定します。- パラメーター:
poolConfig- 設定するプール構成。
メソッドの詳細
getContext
クラスからコピーされた説明:PooledContextSourceキー付きオブジェクトプールから、指定された型の DirContext を取得します。- オーバーライド:
- クラス
PooledContextSourceのgetContext - パラメーター:
dirContextType- 返すコンテキストの型。- 戻り値:
- 指定された型のラップされた DirContext。