クラス DelegatingDirContext
java.lang.ObjectSE
org.springframework.ldap.pool.DelegatingContext
org.springframework.ldap.pool.DelegatingDirContext
- 実装されているすべてのインターフェース:
ContextSE、DirContextSE、DirContextProxy
- 既知の直属サブクラス
DelegatingLdapContext
public class DelegatingDirContext
extends DelegatingContext
implements DirContextSE, DirContextProxy
PoolingContextSource が DirContextSE をラップするために使用し、ほとんどのメソッドを基になるコンテキストに委譲します。このクラスは、close() への呼び出しでコンテキストをプールに返すことを処理する DelegatingContext を継承します。フィールドのサマリー
インターフェース 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コンストラクターの概要
コンストラクターコンストラクター説明DelegatingDirContext(org.apache.commons.pool.KeyedObjectPool keyedObjectPool, DirContextSE delegateDirContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい委譲ディレクトリコンテキストを作成します。メソッドのサマリー
修飾子と型メソッド説明protected voidvoidbind(StringSE name, ObjectSE obj, AttributesSE attrs) voidbind(NameSE name, ObjectSE obj, AttributesSE attrs) voidclose()createSubcontext(StringSE name, AttributesSE attrs) createSubcontext(NameSE name, AttributesSE attrs) booleangetAttributes(StringSE name) getAttributes(StringSE name, StringSE[] attrIds) getAttributes(NameSE name) getAttributes(NameSE name, StringSE[] attrIds) 委譲されていない dir コンテキストが見つかるまで、委譲を再帰的にインスペクションします。プロキシのターゲットDirContextを取得します。inthashCode()voidmodifyAttributes(StringSE name, int modOp, AttributesSE attrs) voidmodifyAttributes(StringSE name, ModificationItemSE[] mods) voidmodifyAttributes(NameSE name, int modOp, AttributesSE attrs) voidmodifyAttributes(NameSE name, ModificationItemSE[] mods) voidrebind(StringSE name, ObjectSE obj, AttributesSE attrs) voidrebind(NameSE name, ObjectSE obj, AttributesSE attrs) search(StringSE name, StringSE filterExpr, ObjectSE[] filterArgs, SearchControlsSE cons) search(StringSE name, StringSE filter, SearchControlsSE cons) search(StringSE name, AttributesSE matchingAttributes) search(StringSE name, AttributesSE matchingAttributes, StringSE[] attributesToReturn) search(NameSE name, StringSE filterExpr, ObjectSE[] filterArgs, SearchControlsSE cons) search(NameSE name, StringSE filter, SearchControlsSE cons) search(NameSE name, AttributesSE matchingAttributes) search(NameSE name, AttributesSE matchingAttributes, StringSE[] attributesToReturn) toString()クラス 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
コンストラクターの詳細
DelegatingDirContext
public DelegatingDirContext(org.apache.commons.pool.KeyedObjectPool keyedObjectPool, DirContextSE delegateDirContext, DirContextType dirContextType) 指定されたプール、コンテキスト、コンテキスト型の新しい委譲ディレクトリコンテキストを作成します。- パラメーター:
keyedObjectPool- デリゲートコンテキストがチェックアウトされたプール。delegateDirContext- 操作を委譲する dir コンテキスト。dirContextType- プールのキーとして使用されるコンテキストの型。- 例外:
IllegalArgumentExceptionSE- いずれかの引数が null の場合
メソッドの詳細
getDelegateDirContext
- 戻り値:
- このディレクトリコンテキストプロキシの直接デリゲート
getDelegateContext
- オーバーライド:
- クラス
DelegatingContextのgetDelegateContext - 戻り値:
- このコンテキストプロキシの直接のデリゲート
getInnermostDelegateDirContext
委譲されていない dir コンテキストが見つかるまで、委譲を再帰的にインスペクションします。- 戻り値:
- 委譲されている最も内側の (実際の) DirContext。
assertOpen
- オーバーライド:
- クラス
DelegatingContextのassertOpen - 例外:
NamingExceptionSE- デリゲートが null の場合、DelegatingContext.close()が呼び出されています。
equals
- オーバーライド:
- クラス
DelegatingContextのequals - 関連事項:
hashCode
public int hashCode()- オーバーライド:
- クラス
DelegatingContextのhashCode - 関連事項:
toString
- オーバーライド:
- クラス
DelegatingContextのtoString - 関連事項:
getTargetContext
インターフェースからコピーされた説明:DirContextProxyプロキシのターゲットDirContextを取得します。- 次で指定:
- インターフェース
DirContextProxyのgetTargetContext - 戻り値:
- ターゲット
DirContext。
bind
bind
createSubcontext
createSubcontext
getAttributes
- 次で指定:
- インターフェース
DirContextSEのgetAttributesSE - 例外:
NamingExceptionSE- 関連事項:
getAttributes
- 次で指定:
- インターフェース
DirContextSEのgetAttributesSE - 例外:
NamingExceptionSE- 関連事項:
getAttributes
- 次で指定:
- インターフェース
DirContextSEのgetAttributesSE - 例外:
NamingExceptionSE- 関連事項:
getAttributes
- 次で指定:
- インターフェース
DirContextSEのgetAttributesSE - 例外:
NamingExceptionSE- 関連事項:
getSchema
- 次で指定:
- インターフェース
DirContextSEのgetSchemaSE - 例外:
NamingExceptionSE- 関連事項:
getSchema
- 次で指定:
- インターフェース
DirContextSEのgetSchemaSE - 例外:
NamingExceptionSE- 関連事項:
getSchemaClassDefinition
- 次で指定:
- インターフェース
DirContextSEのgetSchemaClassDefinitionSE - 例外:
NamingExceptionSE- 関連事項:
getSchemaClassDefinition
- 次で指定:
- インターフェース
DirContextSEのgetSchemaClassDefinitionSE - 例外:
NamingExceptionSE- 関連事項:
modifyAttributes
modifyAttributes
modifyAttributes
modifyAttributes
rebind
rebind
search
public NamingEnumerationSE<SearchResultSE> search(NameSE name, AttributesSE matchingAttributes, StringSE[] attributesToReturn) throws NamingExceptionSE search
public NamingEnumerationSE<SearchResultSE> search(NameSE name, AttributesSE matchingAttributes) throws NamingExceptionSE - 次で指定:
- インターフェース
DirContextSEのsearchSE - 例外:
NamingExceptionSE- 関連事項:
search
public NamingEnumerationSE<SearchResultSE> search(NameSE name, StringSE filterExpr, ObjectSE[] filterArgs, SearchControlsSE cons) throws NamingExceptionSE search
public NamingEnumerationSE<SearchResultSE> search(NameSE name, StringSE filter, SearchControlsSE cons) throws NamingExceptionSE search
public NamingEnumerationSE<SearchResultSE> search(StringSE name, AttributesSE matchingAttributes, StringSE[] attributesToReturn) throws NamingExceptionSE search
public NamingEnumerationSE<SearchResultSE> search(StringSE name, AttributesSE matchingAttributes) throws NamingExceptionSE - 次で指定:
- インターフェース
DirContextSEのsearchSE - 例外:
NamingExceptionSE- 関連事項:
search
public NamingEnumerationSE<SearchResultSE> search(StringSE name, StringSE filterExpr, ObjectSE[] filterArgs, SearchControlsSE cons) throws NamingExceptionSE search
public NamingEnumerationSE<SearchResultSE> search(StringSE name, StringSE filter, SearchControlsSE cons) throws NamingExceptionSE close
- 次で指定:
- インターフェース
ContextSEのclose - オーバーライド:
- クラス
DelegatingContextのclose - 例外:
NamingExceptionSE- 関連事項: