public interface TooManyRegistrationComponentDef extends ComponentDef
S2コンテナにコンポーネントが登録される際に、 そのキー(コンポーネントのクラス、
インターフェース、あるいは名前)に対応するコンポーネントがすでに登録されていると、 コンポーネント定義がTooManyRegistrationComponentDefになります。
TooManyRegistrationComponentDefで定義されているコンポーネントを取得しようとすると、
TooManyRegistrationRuntimeExceptionがスローされます。
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addComponentDef(ComponentDef cd)
同じキーで登録されたコンポーネント定義を追加します。
|
Class[] |
getComponentClasses()
複数登録されたコンポーネントの定義上のクラスの配列を返します。
|
ComponentDef[] |
getComponentDefs()
複数登録されたコンポーネント定義の配列を返します。
|
destroy, getAutoBindingDef, getComponent, getComponentClass, getComponentName, getConcreteClass, getContainer, getExpression, getInstanceDef, init, injectDependency, isExternalBinding, setAutoBindingDef, setComponentClass, setComponentName, setContainer, setExpression, setExternalBinding, setInstanceDefaddArgDef, getArgDef, getArgDefSizeaddInterTypeDef, getInterTypeDef, getInterTypeDefSizeaddPropertyDef, getPropertyDef, getPropertyDef, getPropertyDefSize, hasPropertyDefaddInitMethodDef, getInitMethodDef, getInitMethodDefSizeaddDestroyMethodDef, getDestroyMethodDef, getDestroyMethodDefSizeaddAspectDef, addAspectDef, getAspectDef, getAspectDefSizeaddMetaDef, getMetaDef, getMetaDef, getMetaDefs, getMetaDefSizevoid addComponentDef(ComponentDef cd)
cd - 同じキーで登録されたコンポーネント定義Class[] getComponentClasses()
ComponentDef[] getComponentDefs()
Copyright © 2015 The DBFlute Project. All rights reserved.