shohaku.core.lang.feature.impl
クラス DefaultFeatureFactory

java.lang.Object
  拡張shohaku.core.lang.feature.FeatureFactory
      拡張shohaku.core.lang.feature.impl.DefaultFeatureFactory

public class DefaultFeatureFactory
extends FeatureFactory

shohaku.core.lang.feature.FeatureFactory のデフォルト実装を提供します。


フィールドの概要
protected  LogFeatureFactory logFeatureFactory
          ログファクトリ
protected  ResourceLoader resourceLoader
          リソースローダ
 
クラス shohaku.core.lang.feature.FeatureFactory から継承したフィールド
features
 
コンストラクタの概要
DefaultFeatureFactory(java.util.Map properties)
          初期化パラメータから各機能を生成して初期化します。
 
メソッドの概要
 LogFeature getLogFeature(java.lang.Class clazz)
          ログ機能を生成して返却します。
 LogFeature getLogFeature(java.lang.String name)
          ログ機能を生成して返却します。
 ResourceLoader getResourceLoader()
          リソースローダ機能を生成して返却します。
 
クラス shohaku.core.lang.feature.FeatureFactory から継承したメソッド
addFeature, getFactory, getFeature, getInstance, getLoader, getLog, getLog, initialize, loadClass
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

resourceLoader

protected final ResourceLoader resourceLoader
リソースローダ


logFeatureFactory

protected final LogFeatureFactory logFeatureFactory
ログファクトリ

コンストラクタの詳細

DefaultFeatureFactory

public DefaultFeatureFactory(java.util.Map properties)
初期化パラメータから各機能を生成して初期化します。

パラメータ:
properties - 初期化パラメータ
メソッドの詳細

getResourceLoader

public ResourceLoader getResourceLoader()
クラス FeatureFactory の記述:
リソースローダ機能を生成して返却します。

定義:
クラス FeatureFactory 内の getResourceLoader
戻り値:
リソースローダ機能

getLogFeature

public LogFeature getLogFeature(java.lang.Class clazz)
クラス FeatureFactory の記述:
ログ機能を生成して返却します。

定義:
クラス FeatureFactory 内の getLogFeature
パラメータ:
clazz - クラス
戻り値:
ログ機能

getLogFeature

public LogFeature getLogFeature(java.lang.String name)
クラス FeatureFactory の記述:
ログ機能を生成して返却します。

定義:
クラス FeatureFactory 内の getLogFeature
パラメータ:
name - ログ名
戻り値:
ログ機能