クラス MutableDelegatingLdapContext
java.lang.ObjectSE
org.springframework.ldap.pool.DelegatingContext
org.springframework.ldap.pool.DelegatingDirContext
org.springframework.ldap.pool.DelegatingLdapContext
org.springframework.ldap.pool.MutableDelegatingLdapContext
- 実装されているすべてのインターフェース:
ContextSE、DirContextSE、LdapContextSE、DirContextProxy
MutablePoolingContextSource が LdapContextSE をラップするために使用し、ほとんどのメソッドを基になるコンテキストに委譲します。このクラスは DelegatingLdapContext を継承し、ラップされた LDAP コンテキストでリクエスト制御を設定できるようにします。これにより、ページングされた結果などのシナリオで Spring LDAP プーリングを使用できるようになります。フィールドのサマリー
インターフェース javax.naming.ContextSE から継承されたフィールド
APPLETSE, AUTHORITATIVESE, BATCHSIZESE, DNS_URLSE, INITIAL_CONTEXT_FACTORYSE, LANGUAGESE, OBJECT_FACTORIESSE, PROVIDER_URLSE, REFERRALSE, SECURITY_AUTHENTICATIONSE, SECURITY_CREDENTIALSSE, SECURITY_PRINCIPALSE, SECURITY_PROTOCOLSE, STATE_FACTORIESSE, URL_PKG_PREFIXESSEインターフェース javax.naming.directory.DirContextSE から継承されたフィールド
ADD_ATTRIBUTESE, REMOVE_ATTRIBUTESE, REPLACE_ATTRIBUTESEインターフェース javax.naming.ldap.LdapContextSE から継承されたフィールド
CONTROL_FACTORIESSEコンストラクターの概要
コンストラクターコンストラクター説明MutableDelegatingLdapContext(org.apache.commons.pool.KeyedObjectPool keyedObjectPool, LdapContextSE delegateLdapContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい変更可能な委譲 LDAP コンテキストを作成します。メソッドのサマリー
クラス org.springframework.ldap.pool.DelegatingLdapContext から継承されたメソッド
assertOpen, close, equals, extendedOperation, getConnectControls, getDelegateDirContext, getDelegateLdapContext, getInnermostDelegateLdapContext, getRequestControls, getResponseControls, hashCode, newInstance, reconnect, toStringクラス org.springframework.ldap.pool.DelegatingDirContext から継承されたメソッド
bind, bind, createSubcontext, createSubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getDelegateContext, getInnermostDelegateDirContext, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, getTargetContext, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, search, search, search, search, search, search, search, searchクラス org.springframework.ldap.pool.DelegatingContext から継承されたメソッド
addToEnvironment, bind, bind, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getInnermostDelegateContext, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindクラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSEインターフェース javax.naming.ContextSE から継承されたメソッド
addToEnvironmentSE, bindSE, bindSE, composeNameSE, composeNameSE, createSubcontextSE, createSubcontextSE, destroySubcontextSE, destroySubcontextSE, getEnvironment, getNameInNamespace, getNameParserSE, getNameParserSE, listSE, listSE, listBindingsSE, listBindingsSE, lookupSE, lookupSE, lookupLinkSE, lookupLinkSE, rebindSE, rebindSE, removeFromEnvironmentSE, renameSE, renameSE, unbindSE, unbindSEインターフェース javax.naming.directory.DirContextSE から継承されたメソッド
bindSE, bindSE, createSubcontextSE, createSubcontextSE, getAttributesSE, getAttributesSE, getAttributesSE, getAttributesSE, getSchemaSE, getSchemaSE, getSchemaClassDefinitionSE, getSchemaClassDefinitionSE, modifyAttributesSE, modifyAttributesSE, modifyAttributesSE, modifyAttributesSE, rebindSE, rebindSE, searchSE, searchSE, searchSE, searchSE, searchSE, searchSE, searchSE, searchSE
コンストラクターの詳細
MutableDelegatingLdapContext
public MutableDelegatingLdapContext(org.apache.commons.pool.KeyedObjectPool keyedObjectPool, LdapContextSE delegateLdapContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい変更可能な委譲 LDAP コンテキストを作成します。- パラメーター:
keyedObjectPool- デリゲートコンテキストがチェックアウトされたプール。delegateLdapContext- 操作を委譲する LDAP コンテキスト。dirContextType- プールのキーとして使用されるコンテキストの型。- 例外:
IllegalArgumentExceptionSE- いずれかの引数が null の場合
メソッドの詳細
setRequestControls
- 次で指定:
- インターフェース
LdapContextSEのsetRequestControlsSE - オーバーライド:
- クラス
DelegatingLdapContextのsetRequestControls - 例外:
NamingExceptionSE- 関連事項: