org.apache.avalon.excalibur.logger
クラス DefaultLogTargetFactoryManager

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.avalon.excalibur.logger.DefaultLogTargetFactoryManager
すべての実装インタフェース:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.LogEnabled, LogTargetFactoryManager

public class DefaultLogTargetFactoryManager
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements LogTargetFactoryManager, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.configuration.Configurable

Default LogTargetFactoryManager implementation. It populates the LogTargetFactoryManager from a configuration file.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.5 $ $Date: 2001/12/11 09:53:29 $
作成者:
Giacomo Pati

コンストラクタの概要
DefaultLogTargetFactoryManager()
           
 
メソッドの概要
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
          Reads a configuration object and creates the category mapping.
 void contextualize(org.apache.avalon.framework.context.Context context)
          Reads a context object.
 LogTargetFactory getLogTargetFactory(java.lang.String factoryName)
          Retrieves a LogTargetFactory from a name.
 
クラス org.apache.avalon.framework.logger.AbstractLogEnabled から継承したメソッド
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DefaultLogTargetFactoryManager

public DefaultLogTargetFactoryManager()
メソッドの詳細

getLogTargetFactory

public final LogTargetFactory getLogTargetFactory(java.lang.String factoryName)
Retrieves a LogTargetFactory from a name. Usually the factory name refers to a element name. If this LogTargetFactoryManager does not have the match a null will be returned.
定義:
インタフェース LogTargetFactoryManager 内の getLogTargetFactory
パラメータ:
factoryName - The name of a configured LogTargetFactory.
戻り値:
the LogTargetFactory or null if none is found.

contextualize

public final void contextualize(org.apache.avalon.framework.context.Context context)
                         throws org.apache.avalon.framework.context.ContextException
Reads a context object.
定義:
インタフェース org.apache.avalon.framework.context.Contextualizable 内の contextualize
パラメータ:
context - The context object.
例外:
org.apache.avalon.framework.context.ContextException - if the context is malformed

configure

public final void configure(org.apache.avalon.framework.configuration.Configuration configuration)
                     throws org.apache.avalon.framework.configuration.ConfigurationException
Reads a configuration object and creates the category mapping.
定義:
インタフェース org.apache.avalon.framework.configuration.Configurable 内の configure
パラメータ:
configuration - The configuration object.
例外:
org.apache.avalon.framework.configuration.ConfigurationException - if the configuration is malformed


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."