クラス MutablePooledContextSource

実装されているすべてのインターフェース:
org.springframework.beans.factory.DisposableBeanContextSourceBaseLdapPathSource

public class MutablePooledContextSource extends PooledContextSource
MutableDelegatingLdapContext インスタンスを作成する PooledContextSource サブクラス。これにより、Spring LDAP プーリングを、ページングされた結果などのリクエスト制御の設定が必要なシナリオで使用できるようになります。
導入:
2.0
  • コンストラクターの詳細

    • MutablePooledContextSource

      public MutablePooledContextSource(PoolConfig poolConfig)
      新しいプーリングコンテキストソースを作成し、DirContext オブジェクトファクトリと汎用のキー付きオブジェクトプールを設定します。
      パラメーター:
      poolConfig - 設定するプール構成。
  • メソッドの詳細

    • getContext

      protected DirContextSE getContext(DirContextType dirContextType)
      クラスからコピーされた説明: PooledContextSource
      キー付きオブジェクトプールから、指定された型の DirContext を取得します。
      オーバーライド:
      クラス PooledContextSourcegetContext 
      パラメーター:
      dirContextType - 返すコンテキストの型。
      戻り値:
      指定された型のラップされた DirContext。