|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.liq.container.Module
jp.liq.container.vocabulary.SentinelConfig.SentinelModule
public class SentinelConfig.SentinelModule
コンストラクタを一つだけ持つ、任意の具象クラスに対応するComponent
のインスタンスを生成します。
このクラスは通常、一番最後にContainer
に追加されます。
フィールドの概要 |
---|
インタフェース jp.liq.container.ContainerVocabulary から継承されたフィールド |
---|
component, components, ctor, fields, injector, methods, sentinel |
コンストラクタの概要 | |
---|---|
SentinelConfig.SentinelModule()
このクラスのインスタンスを構築します。 |
メソッドの概要 | ||
---|---|---|
protected
|
createComponent(java.lang.Class<T> type)
引数で指定されたクラスに対応するコンポーネントを返します。 |
|
SentinelConfig.SentinelModule |
with(Injector injector)
このモジュールが生成する Component
に設定される Injector を追加します。 |
クラス jp.liq.container.Module から継承されたメソッド |
---|
addComponent |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public SentinelConfig.SentinelModule()
メソッドの詳細 |
---|
public SentinelConfig.SentinelModule with(Injector injector)
Component
に設定される Injector を追加します。
injector
- protected <T> Component<T> createComponent(java.lang.Class<T> type)
Module
の記述:
Module
内の createComponent
Module.createComponent(java.lang.Class)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |