クラス DelegatingLdapContext
java.lang.ObjectSE
org.springframework.ldap.pool.DelegatingContext
org.springframework.ldap.pool.DelegatingDirContext
org.springframework.ldap.pool.DelegatingLdapContext
- 実装されているすべてのインターフェース:
ContextSE、DirContextSE、LdapContextSE、DirContextProxy
- 既知の直属サブクラス
MutableDelegatingLdapContext
PoolingContextSource が LdapContextSE をラップするために使用し、ほとんどのメソッドを基になるコンテキストに委譲します。このクラスは、close() への呼び出しでコンテキストをプールに返すことを処理する DelegatingDirContext を継承します。フィールドのサマリー
インターフェース 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コンストラクターの概要
コンストラクターコンストラクター説明DelegatingLdapContext(org.apache.commons.pool.KeyedObjectPool keyedObjectPool, LdapContextSE delegateLdapContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい委譲 LDAP コンテキストを作成します。メソッドのサマリー
修飾子と型メソッド説明protected voidvoidclose()booleanextendedOperation(ExtendedRequestSE request) 委譲されていない LDAP コンテキストが見つかるまで、委譲を再帰的にインスペクションします。inthashCode()newInstance(ControlSE[] requestControls) voidvoidsetRequestControls(ControlSE[] requestControls) 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
コンストラクターの詳細
DelegatingLdapContext
public DelegatingLdapContext(org.apache.commons.pool.KeyedObjectPool keyedObjectPool, LdapContextSE delegateLdapContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい委譲 LDAP コンテキストを作成します。- パラメーター:
keyedObjectPool- デリゲートコンテキストがチェックアウトされたプール。delegateLdapContext- 操作を委譲する LDAP コンテキスト。dirContextType- プールのキーとして使用されるコンテキストの型。- 例外:
IllegalArgumentExceptionSE- いずれかの引数が null の場合
メソッドの詳細
getDelegateLdapContext
- 戻り値:
- この LDAP コンテキストプロキシの直接委譲
getDelegateDirContext
- オーバーライド:
- クラス
DelegatingDirContextのgetDelegateDirContext - 戻り値:
- このディレクトリコンテキストプロキシの直接デリゲート
getInnermostDelegateLdapContext
委譲されていない LDAP コンテキストが見つかるまで、委譲を再帰的にインスペクションします。- 戻り値:
- 委譲されている最も内側の (実際の) DirContext。
assertOpen
- オーバーライド:
- クラス
DelegatingDirContextのassertOpen - 例外:
NamingExceptionSE- デリゲートが null の場合、DelegatingContext.close()が呼び出されています。
equals
- オーバーライド:
- クラス
DelegatingDirContextのequals - 関連事項:
hashCode
public int hashCode()- オーバーライド:
- クラス
DelegatingDirContextのhashCode - 関連事項:
toString
- オーバーライド:
- クラス
DelegatingDirContextのtoString - 関連事項:
extendedOperation
getConnectControls
- 次で指定:
- インターフェース
LdapContextSEのgetConnectControls - 例外:
NamingExceptionSE- 関連事項:
getRequestControls
- 次で指定:
- インターフェース
LdapContextSEのgetRequestControls - 例外:
NamingExceptionSE- 関連事項:
getResponseControls
- 次で指定:
- インターフェース
LdapContextSEのgetResponseControls - 例外:
NamingExceptionSE- 関連事項:
newInstance
- 次で指定:
- インターフェース
LdapContextSEのnewInstanceSE - 例外:
NamingExceptionSE- 関連事項:
reconnect
- 次で指定:
- インターフェース
LdapContextSEのreconnectSE - 例外:
NamingExceptionSE- 関連事項:
setRequestControls
- 次で指定:
- インターフェース
LdapContextSEのsetRequestControlsSE - 例外:
NamingExceptionSE- 関連事項:
close
- 次で指定:
- インターフェース
ContextSEのclose - オーバーライド:
- クラス
DelegatingDirContextのclose - 例外:
NamingExceptionSE- 関連事項: