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
| クラス 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.