Class ListComponentCreator
java.lang.Object
nablarch.core.repository.di.config.ListComponentCreator
- All Implemented Interfaces:
ComponentCreator
,ComponentInjector
Listの定義からコンポーネントを生成するクラス。
Listは初期化時にならないと対象のオブジェクトを発見できないため、 ComponentCreatorとComponentInjectorの2つのインタフェースを実装する。
Listは初期化時にならないと対象のオブジェクトを発見できないため、 ComponentCreatorとComponentInjectorの2つのインタフェースを実装する。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
completeInject
(DiContainer container, ComponentDefinition def, Object component) Listの内容を初期化する。createComponent
(DiContainer container, ComponentDefinition def) Listコンポーネントを生成する。toString()
-
Constructor Details
-
ListComponentCreator
コンストラクタ。- Parameters:
elementDefs
- 要素となるコンポーネントのIDリスト
-
-
Method Details
-
createComponent
Listコンポーネントを生成する。- Specified by:
createComponent
in interfaceComponentCreator
- Parameters:
container
- DIコンテナdef
- 生成するコンポーネントの定義- Returns:
- 生成したコンポーネント
- See Also:
-
completeInject
Listの内容を初期化する。- Specified by:
completeInject
in interfaceComponentInjector
- Parameters:
container
- コンテナdef
- 初期化するコンポーネントの定義component
- 初期化するコンポーネント- See Also:
-
toString
-