jp.liq.container.vocabulary
クラス SentinelConfig.SentinelModule

java.lang.Object
  上位を拡張 jp.liq.container.Module
      上位を拡張 jp.liq.container.vocabulary.SentinelConfig.SentinelModule
すべての実装されたインタフェース:
ContainerVocabulary
含まれているクラス:
SentinelConfig

public class SentinelConfig.SentinelModule
extends Module
implements ContainerVocabulary

コンストラクタを一つだけ持つ、任意の具象クラスに対応するComponentのインスタンスを生成します。 このクラスは通常、一番最後にContainer に追加されます。

作成者:
nosen

フィールドの概要
 
インタフェース jp.liq.container.ContainerVocabulary から継承されたフィールド
component, components, ctor, fields, injector, methods, sentinel
 
コンストラクタの概要
SentinelConfig.SentinelModule()
          このクラスのインスタンスを構築します。
 
メソッドの概要
protected
<T> Component<T>
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
 

コンストラクタの詳細

SentinelConfig.SentinelModule

public SentinelConfig.SentinelModule()
このクラスのインスタンスを構築します。

メソッドの詳細

with

public SentinelConfig.SentinelModule with(Injector injector)
このモジュールが生成するComponent に設定される Injector を追加します。

パラメータ:
injector -

createComponent

protected <T> Component<T> createComponent(java.lang.Class<T> type)
クラス Module の記述:
引数で指定されたクラスに対応するコンポーネントを返します。

オーバーライド:
クラス Module 内の createComponent
関連項目:
Module.createComponent(java.lang.Class)


Copyright © 2008. All Rights Reserved.