クラス DelegatingLdapContext
java.lang.ObjectSE
org.springframework.ldap.pool2.DelegatingContext
org.springframework.ldap.pool2.DelegatingDirContext
org.springframework.ldap.pool2.DelegatingLdapContext
- 実装済みのインターフェース一覧:
ContextSE, DirContextSE, LdapContextSE, DirContextProxy
- 既知の直属サブクラス
MutableDelegatingLdapContext
PooledContextSource が LdapContextSE をラップするために使用し、ほとんどのメソッドを基になるコンテキストに委譲します。このクラスは、close() への呼び出しでコンテキストをプールに返すことを処理する DelegatingDirContext を継承します。- 導入:
- 2.0
フィールド概要
インターフェース ContextSE から継承されたフィールド
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インターフェース DirContextSE から継承されたフィールド
ADD_ATTRIBUTESE, REMOVE_ATTRIBUTESE, REPLACE_ATTRIBUTESEインターフェース LdapContextSE から継承されたフィールド
CONTROL_FACTORIESSEコンストラクター概要
コンストラクターコンストラクター説明DelegatingLdapContext(org.apache.commons.pool2.KeyedObjectPool<ObjectSE, ObjectSE> keyedObjectPool, LdapContextSE delegateLdapContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい委譲 LDAP コンテキストを作成します。方法の概要
修飾子と型メソッド説明protected voidvoidclose()booleanextendedOperation(ExtendedRequestSE request) 委譲されていない LDAP コンテキストが見つかるまで、委譲を再帰的にインスペクションします。inthashCode()newInstance(ControlSE[] requestControls) voidvoidsetRequestControls(ControlSE[] requestControls) toString()クラス 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クラス 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インターフェース 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インターフェース 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.pool2.KeyedObjectPool<ObjectSE, ObjectSE> 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
- 次で指定:
- インターフェース
LdapContextSE内のextendedOperationSE - 例外:
NamingExceptionSE- 関連事項:
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- 関連事項: