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

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

public class DefaultLogTargetManager
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements LogTargetManager, LogTargetFactoryManageable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.configuration.Configurable

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

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

コンストラクタの概要
DefaultLogTargetManager()
           
 
メソッドの概要
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
          Reads a configuration object and creates the log targets.
 void contextualize(org.apache.avalon.framework.context.Context context)
          Reads a context object.
 org.apache.log.LogTarget getLogTarget(java.lang.String id)
          Retrieves a LogTarget for an ID.
 void setLogTargetFactoryManager(LogTargetFactoryManager logTargetFactoryManager)
          Gets the LogTargetFactoryManager.
 
クラス 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
 

コンストラクタの詳細

DefaultLogTargetManager

public DefaultLogTargetManager()
メソッドの詳細

getLogTarget

public final org.apache.log.LogTarget getLogTarget(java.lang.String id)
Retrieves a LogTarget for an ID. If this LogTargetManager does not have the match a null will be returned.
定義:
インタフェース LogTargetManager 内の getLogTarget
パラメータ:
ID - The LogTarget ID
戻り値:
the LogTarget 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

setLogTargetFactoryManager

public final void setLogTargetFactoryManager(LogTargetFactoryManager logTargetFactoryManager)
Gets the LogTargetFactoryManager.
定義:
インタフェース LogTargetFactoryManageable 内の setLogTargetFactoryManager

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 log targets.
定義:
インタフェース 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."