org.zuena.guiceex.config
クラス Config

java.lang.Object
  上位を拡張 org.zuena.guiceex.config.Config

public class Config
extends Object

guiceex-configに記述されたバインディング設定を読み込んで、対応するGuiceexBinderインスタンスを 作成します。 guiceex-configの読み込み及びGuiceexBinderインスタンス作成はDigesterを使用します。

導入されたバージョン:
0.9.1

コンストラクタの概要
Config()
           
 
メソッドの概要
 void addBinder(GuiceexBinder binder)
           
static Config configure(String configXMLPath)
          Digesterを使用して、configXMLPathへ指定された GuiceexコンフィグよりConfigをインスタンス化する。
 List<GuiceexBinder> getBinders()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Config

public Config()
メソッドの詳細

configure

public static Config configure(String configXMLPath)
                        throws ConfigurationException
Digesterを使用して、configXMLPathへ指定された GuiceexコンフィグよりConfigをインスタンス化する。

パラメータ:
configXMLPath - Guice-Extentionコンフィグへのパス。
戻り値:
Configインスタンス。
例外:
ConfigurationException

getBinders

public List<GuiceexBinder> getBinders()

addBinder

public void addBinder(GuiceexBinder binder)


Copyright © 2007 zuena.org AllRights Reserved.