Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 80474 invoked from network); 11 Dec 2001 15:22:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Dec 2001 15:22:32 -0000 Received: (qmail 19327 invoked by uid 97); 11 Dec 2001 15:22:32 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 19268 invoked by uid 97); 11 Dec 2001 15:22:31 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 19257 invoked by uid 97); 11 Dec 2001 15:22:31 -0000 Date: 11 Dec 2001 15:22:26 -0000 Message-ID: <20011211152226.8178.qmail@icarus.apache.org> From: bloritsch@apache.org To: jakarta-avalon-site-cvs@apache.org Subject: cvs commit: jakarta-avalon-site/docs/authors avalon-doc.html eungju.html fede.html hammant.html lsimons.html peter.html pier.html roberto.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bloritsch 01/12/11 07:22:26 Added: docs/api/org/apache/avalon/framework/configuration NamespacedSAXConfigurationHandler.html docs/api/org/apache/avalon/framework/logger AbstractLogEnabled.html Jdk14Logger.html Log4JLogger.html LogEnabled.html LogKitLogger.html Logger.html docs/authors avalon-doc.html eungju.html fede.html hammant.html lsimons.html peter.html pier.html roberto.html Removed: docs/api/org/apache/avalon/framework/configuration Namespace.html Log: add missing files Revision Changes Path 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/configuration/NamespacedSAXConfigurationHandler.html Index: NamespacedSAXConfigurationHandler.html =================================================================== NamespacedSAXConfigurationHandler (Avalon API)

org.apache.avalon.framework.configuration
Class NamespacedSAXConfigurationHandler

  java.lang.Object
    |
    +--org.xml.sax.helpers.DefaultHandler
          |
          +--org.apache.avalon.framework.configuration.SAXConfigurationHandler
                |
                +--org.apache.avalon.framework.configuration.NamespacedSAXConfigurationHandler
  
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class NamespacedSAXConfigurationHandler
extends SAXConfigurationHandler

A SAXConfigurationHandler helps build Configurations out of sax events, including namespace information.

Author:
Federico Barbieri
, Peter Donald

Constructor Summary
NamespacedSAXConfigurationHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int end)
           
 void clear()
           
protected  DefaultConfiguration createConfiguration(java.lang.String localName, java.lang.String namespaceURI, java.lang.String location)
           
 void endDocument()
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String rawName)
           
 void error(org.xml.sax.SAXParseException exception)
          This just throws an exception on a parse error.
 void fatalError(org.xml.sax.SAXParseException exception)
          This just throws an exception on a parse error.
 Configuration getConfiguration()
           
protected  java.lang.String getLocationString()
           
 void setDocumentLocator(org.xml.sax.Locator locator)
           
 void startDocument()
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String rawName, org.xml.sax.Attributes attributes)
           
 void startPrefixMapping(java.lang.String prefix, java.lang.String uri)
           
 void warning(org.xml.sax.SAXParseException exception)
          This just throws an exception on a parse error.
 
Methods inherited from class org.apache.avalon.framework.configuration.SAXConfigurationHandler
createConfiguration
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespacedSAXConfigurationHandler

  public NamespacedSAXConfigurationHandler()
Method Detail

getConfiguration

  public Configuration getConfiguration()
Overrides:
getConfiguration in class SAXConfigurationHandler

clear

  public void clear()
Overrides:
clear in class SAXConfigurationHandler

setDocumentLocator

  public void setDocumentLocator(org.xml.sax.Locator locator)
Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler
Overrides:
setDocumentLocator in class SAXConfigurationHandler

startDocument

  public void startDocument()
                     throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException

endDocument

  public void endDocument()
                   throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException

characters

  public void characters(char[] ch,
                         int start,
                         int end)
                  throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class SAXConfigurationHandler
org.xml.sax.SAXException

endElement

  public void endElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String rawName)
                  throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class SAXConfigurationHandler
org.xml.sax.SAXException

createConfiguration

  protected DefaultConfiguration createConfiguration(java.lang.String localName,
                                                     java.lang.String namespaceURI,
                                                     java.lang.String location)

startElement

  public void startElement(java.lang.String namespaceURI,
                           java.lang.String localName,
                           java.lang.String rawName,
                           org.xml.sax.Attributes attributes)
                    throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class SAXConfigurationHandler
org.xml.sax.SAXException

error

  public void error(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
This just throws an exception on a parse error.

Specified by:
error in interface org.xml.sax.ErrorHandler
Overrides:
error in class SAXConfigurationHandler
org.xml.sax.SAXException

warning

  public void warning(org.xml.sax.SAXParseException exception)
               throws org.xml.sax.SAXException
This just throws an exception on a parse error.

Specified by:
warning in interface org.xml.sax.ErrorHandler
Overrides:
warning in class SAXConfigurationHandler
org.xml.sax.SAXException

fatalError

  public void fatalError(org.xml.sax.SAXParseException exception)
                  throws org.xml.sax.SAXException
This just throws an exception on a parse error.

Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Overrides:
fatalError in class SAXConfigurationHandler
org.xml.sax.SAXException

getLocationString

  protected java.lang.String getLocationString()
Overrides:
getLocationString in class SAXConfigurationHandler

startPrefixMapping

  public void startPrefixMapping(java.lang.String prefix,
                                 java.lang.String uri)
                          throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler
Overrides:
startPrefixMapping in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/logger/AbstractLogEnabled.html Index: AbstractLogEnabled.html =================================================================== AbstractLogEnabled (Avalon API)

org.apache.avalon.framework.logger
Class AbstractLogEnabled

  java.lang.Object
    |
    +--org.apache.avalon.framework.logger.AbstractLogEnabled
  
All Implemented Interfaces:
LogEnabled

public abstract class AbstractLogEnabled
extends java.lang.Object
implements LogEnabled

Utility class to allow construction of easy components that will perform logging.

Author:
Peter Donald

Constructor Summary
AbstractLogEnabled()
           
 
Method Summary
 void enableLogging(Logger logger)
          Set the components logger.
protected  Logger getLogger()
          Helper method to allow sub-classes to aquire logger.
protected  void setupLogger(java.lang.Object component)
          Helper method to setup other components with same logger.
protected  void setupLogger(java.lang.Object component, Logger logger)
          Helper method to setup other components with logger.
protected  void setupLogger(java.lang.Object component, java.lang.String subCategory)
          Helper method to setup other components with logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLogEnabled

  public AbstractLogEnabled()
Method Detail

enableLogging

  public void enableLogging(Logger logger)
Set the components logger.

Specified by:
enableLogging in interface LogEnabled
Parameters:
logger - the logger

getLogger

  protected final Logger getLogger()
Helper method to allow sub-classes to aquire logger. This method exists rather than exposing a member variable because it protects other users against future changes. It also means they do not have to use our naming convention.

There is no performance penalty as this is a final method and will be inlined by the JVM.

Returns:
the Logger

setupLogger

  protected void setupLogger(java.lang.Object component)
Helper method to setup other components with same logger.

Parameters:
component - the component to pass logger object to

setupLogger

  protected void setupLogger(java.lang.Object component,
                             java.lang.String subCategory)
Helper method to setup other components with logger. The logger has the subcategory of this components logger.

Parameters:
component - the component to pass logger object to
subCategory - the subcategory to use (may be null)

setupLogger

  protected void setupLogger(java.lang.Object component,
                             Logger logger)
Helper method to setup other components with logger.

Parameters:
component - the component to pass logger object to
logger - the Logger


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/logger/Jdk14Logger.html Index: Jdk14Logger.html =================================================================== Jdk14Logger (Avalon API)

org.apache.avalon.framework.logger
Class Jdk14Logger

  java.lang.Object
    |
    +--org.apache.avalon.framework.logger.Jdk14Logger
  
All Implemented Interfaces:
Logger

public final class Jdk14Logger
extends java.lang.Object
implements Logger

The default JDK 1.4 wrapper class for Logger. Please note that there is not an exact match to the priority levels that JDK 1.4 logging has and what LogKit or Log4J has. For that reason, the following priority level matching was used:

  • SEVERE = error, fatalError
  • WARNING = warn
  • INFO = info
  • FINE = debug

JDK 1.4 does allow you to have other levels like: CONFIG, FINER, and FINEST. Most projects don't separate out configuration logging from debugging information. Also, we wanted to maintain backwards compatibility as much as possible. Unfortunately, with all the "fineness" details, there is no equivalent to the "error" log level.

Author:
Berin Loritsch
, Peter Donald

Constructor Summary
Jdk14Logger(java.util.logging.Logger logImpl)
          Construct a Logger with specified jdk1.4 logger instance as implementation.
 
Method Summary
 void debug(java.lang.String message)
          Log a debug message.
 void debug(java.lang.String message, java.lang.Throwable throwable)
          Log a debug message.
 void error(java.lang.String message)
          Log a error message.
 void error(java.lang.String message, java.lang.Throwable throwable)
          Log a error message.
 void fatalError(java.lang.String message)
          Log a fatalError message.
 void fatalError(java.lang.String message, java.lang.Throwable throwable)
          Log a fatalError message.
 Logger getChildLogger(java.lang.String name)
          Create a new child logger.
 void info(java.lang.String message)
          Log a info message.
 void info(java.lang.String message, java.lang.Throwable throwable)
          Log a info message.
 boolean isDebugEnabled()
          Determine if messages of priority "debug" will be logged.
 boolean isErrorEnabled()
          Determine if messages of priority "error" will be logged.
 boolean isFatalErrorEnabled()
          Determine if messages of priority "fatalError" will be logged.
 boolean isInfoEnabled()
          Determine if messages of priority "info" will be logged.
 boolean isWarnEnabled()
          Determine if messages of priority "warn" will be logged.
 void warn(java.lang.String message)
          Log a warn message.
 void warn(java.lang.String message, java.lang.Throwable throwable)
          Log a warn message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jdk14Logger

  public Jdk14Logger(java.util.logging.Logger logImpl)
Construct a Logger with specified jdk1.4 logger instance as implementation.

Parameters:
logImpl - the jdk1.4 logger instance to delegate to
Method Detail

debug

  public final void debug(java.lang.String message)
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
message - the message

debug

  public final void debug(java.lang.String message,
                          java.lang.Throwable throwable)
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
message - the message
throwable - the throwable

isDebugEnabled

  public final boolean isDebugEnabled()
Determine if messages of priority "debug" will be logged.

Specified by:
isDebugEnabled in interface Logger
Returns:
true if "debug" messages will be logged

info

  public final void info(java.lang.String message)
Log a info message.

Specified by:
info in interface Logger
Parameters:
message - the message

info

  public final void info(java.lang.String message,
                         java.lang.Throwable throwable)
Log a info message.

Specified by:
info in interface Logger
Parameters:
message - the message
throwable - the throwable

isInfoEnabled

  public final boolean isInfoEnabled()
Determine if messages of priority "info" will be logged.

Specified by:
isInfoEnabled in interface Logger
Returns:
true if "info" messages will be logged

warn

  public final void warn(java.lang.String message)
Log a warn message.

Specified by:
warn in interface Logger
Parameters:
message - the message

warn

  public final void warn(java.lang.String message,
                         java.lang.Throwable throwable)
Log a warn message.

Specified by:
warn in interface Logger
Parameters:
message - the message
throwable - the throwable

isWarnEnabled

  public final boolean isWarnEnabled()
Determine if messages of priority "warn" will be logged.

Specified by:
isWarnEnabled in interface Logger
Returns:
true if "warn" messages will be logged

error

  public final void error(java.lang.String message)
Log a error message.

Specified by:
error in interface Logger
Parameters:
message - the message

error

  public final void error(java.lang.String message,
                          java.lang.Throwable throwable)
Log a error message.

Specified by:
error in interface Logger
Parameters:
message - the message
throwable - the throwable

isErrorEnabled

  public final boolean isErrorEnabled()
Determine if messages of priority "error" will be logged.

Specified by:
isErrorEnabled in interface Logger
Returns:
true if "error" messages will be logged

fatalError

  public final void fatalError(java.lang.String message)
Log a fatalError message.

Specified by:
fatalError in interface Logger
Parameters:
message - the message

fatalError

  public final void fatalError(java.lang.String message,
                               java.lang.Throwable throwable)
Log a fatalError message.

Specified by:
fatalError in interface Logger
Parameters:
message - the message
throwable - the throwable

isFatalErrorEnabled

  public final boolean isFatalErrorEnabled()
Determine if messages of priority "fatalError" will be logged.

Specified by:
isFatalErrorEnabled in interface Logger
Returns:
true if "fatalError" messages will be logged

getChildLogger

  public final Logger getChildLogger(java.lang.String name)
Create a new child logger. The name of the child logger is [current-loggers-name].[passed-in-name]

Specified by:
getChildLogger in interface Logger
Parameters:
name - the subname of this logger
Returns:
the new logger
Throws:
java.lang.IllegalArgumentException - if name has an empty element name


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/logger/Log4JLogger.html Index: Log4JLogger.html =================================================================== Log4JLogger (Avalon API)

org.apache.avalon.framework.logger
Class Log4JLogger

  java.lang.Object
    |
    +--org.apache.avalon.framework.logger.Log4JLogger
  
All Implemented Interfaces:
Logger

public final class Log4JLogger
extends java.lang.Object
implements Logger

The default Log4J wrapper class for Logger.

Author:
Berin Loritsch
, Peter Donald

Constructor Summary
Log4JLogger(org.apache.log4j.Category logImpl)
          Create a logger that delegates to specified category.
 
Method Summary
 void debug(java.lang.String message)
          Log a debug message.
 void debug(java.lang.String message, java.lang.Throwable throwable)
          Log a debug message.
 void error(java.lang.String message)
          Log a error message.
 void error(java.lang.String message, java.lang.Throwable throwable)
          Log a error message.
 void fatalError(java.lang.String message)
          Log a fatalError message.
 void fatalError(java.lang.String message, java.lang.Throwable throwable)
          Log a fatalError message.
 Logger getChildLogger(java.lang.String name)
          Create a new child logger.
 void info(java.lang.String message)
          Log a info message.
 void info(java.lang.String message, java.lang.Throwable throwable)
          Log a info message.
 boolean isDebugEnabled()
          Determine if messages of priority "debug" will be logged.
 boolean isErrorEnabled()
          Determine if messages of priority "error" will be logged.
 boolean isFatalErrorEnabled()
          Determine if messages of priority "fatalError" will be logged.
 boolean isInfoEnabled()
          Determine if messages of priority "info" will be logged.
 boolean isWarnEnabled()
          Determine if messages of priority "warn" will be logged.
 void warn(java.lang.String message)
          Log a warn message.
 void warn(java.lang.String message, java.lang.Throwable throwable)
          Log a warn message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JLogger

  public Log4JLogger(org.apache.log4j.Category logImpl)
Create a logger that delegates to specified category.

Parameters:
logImpl - the category to delegate to
Method Detail

debug

  public final void debug(java.lang.String message)
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
message - the message

debug

  public final void debug(java.lang.String message,
                          java.lang.Throwable throwable)
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
message - the message
throwable - the throwable

isDebugEnabled

  public final boolean isDebugEnabled()
Determine if messages of priority "debug" will be logged.

Specified by:
isDebugEnabled in interface Logger
Returns:
true if "debug" messages will be logged

info

  public final void info(java.lang.String message)
Log a info message.

Specified by:
info in interface Logger
Parameters:
message - the message

info

  public final void info(java.lang.String message,
                         java.lang.Throwable throwable)
Log a info message.

Specified by:
info in interface Logger
Parameters:
message - the message
throwable - the throwable

isInfoEnabled

  public final boolean isInfoEnabled()
Determine if messages of priority "info" will be logged.

Specified by:
isInfoEnabled in interface Logger
Returns:
true if "info" messages will be logged

warn

  public final void warn(java.lang.String message)
Log a warn message.

Specified by:
warn in interface Logger
Parameters:
message - the message

warn

  public final void warn(java.lang.String message,
                         java.lang.Throwable throwable)
Log a warn message.

Specified by:
warn in interface Logger
Parameters:
message - the message
throwable - the throwable

isWarnEnabled

  public final boolean isWarnEnabled()
Determine if messages of priority "warn" will be logged.

Specified by:
isWarnEnabled in interface Logger
Returns:
true if "warn" messages will be logged

error

  public final void error(java.lang.String message)
Log a error message.

Specified by:
error in interface Logger
Parameters:
message - the message

error

  public final void error(java.lang.String message,
                          java.lang.Throwable throwable)
Log a error message.

Specified by:
error in interface Logger
Parameters:
message - the message
throwable - the throwable

isErrorEnabled

  public final boolean isErrorEnabled()
Determine if messages of priority "error" will be logged.

Specified by:
isErrorEnabled in interface Logger
Returns:
true if "error" messages will be logged

fatalError

  public final void fatalError(java.lang.String message)
Log a fatalError message.

Specified by:
fatalError in interface Logger
Parameters:
message - the message

fatalError

  public final void fatalError(java.lang.String message,
                               java.lang.Throwable throwable)
Log a fatalError message.

Specified by:
fatalError in interface Logger
Parameters:
message - the message
throwable - the throwable

isFatalErrorEnabled

  public final boolean isFatalErrorEnabled()
Determine if messages of priority "fatalError" will be logged.

Specified by:
isFatalErrorEnabled in interface Logger
Returns:
true if "fatalError" messages will be logged

getChildLogger

  public final Logger getChildLogger(java.lang.String name)
Create a new child logger. The name of the child logger is [current-loggers-name].[passed-in-name]

Specified by:
getChildLogger in interface Logger
Parameters:
name - the subname of this logger
Returns:
the new logger
Throws:
java.lang.IllegalArgumentException - if name has an empty element name


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/logger/LogEnabled.html Index: LogEnabled.html =================================================================== LogEnabled (Avalon API)

org.apache.avalon.framework.logger
Interface LogEnabled

All Known Implementing Classes:
AbstractLogEnabled

public interface LogEnabled

Components that need to log can implement this interface to be provided Loggers.

Author:
Peter Donald
, Berin Loritsch

Method Summary
 void enableLogging(Logger logger)
          Provide component with a logger.
 

Method Detail

enableLogging

  public void enableLogging(Logger logger)
Provide component with a logger.

Parameters:
logger - the logger


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/logger/LogKitLogger.html Index: LogKitLogger.html =================================================================== LogKitLogger (Avalon API)

org.apache.avalon.framework.logger
Class LogKitLogger

  java.lang.Object
    |
    +--org.apache.avalon.framework.logger.LogKitLogger
  
All Implemented Interfaces:
Logger

public final class LogKitLogger
extends java.lang.Object
implements Logger

The default LogKit wrapper class for Logger.

Author:
Berin Loritsch
, Peter Donald

Constructor Summary
LogKitLogger(org.apache.log.Logger logImpl)
          Create a logger that delegates to specified logger.
 
Method Summary
 void debug(java.lang.String message)
          Log a debug message.
 void debug(java.lang.String message, java.lang.Throwable throwable)
          Log a debug message.
 void error(java.lang.String message)
          Log a error message.
 void error(java.lang.String message, java.lang.Throwable throwable)
          Log a error message.
 void fatalError(java.lang.String message)
          Log a fatalError message.
 void fatalError(java.lang.String message, java.lang.Throwable throwable)
          Log a fatalError message.
 Logger getChildLogger(java.lang.String name)
          Create a new child logger.
 void info(java.lang.String message)
          Log a info message.
 void info(java.lang.String message, java.lang.Throwable throwable)
          Log a info message.
 boolean isDebugEnabled()
          Determine if messages of priority "debug" will be logged.
 boolean isErrorEnabled()
          Determine if messages of priority "error" will be logged.
 boolean isFatalErrorEnabled()
          Determine if messages of priority "fatalError" will be logged.
 boolean isInfoEnabled()
          Determine if messages of priority "info" will be logged.
 boolean isWarnEnabled()
          Determine if messages of priority "warn" will be logged.
 void warn(java.lang.String message)
          Log a warn message.
 void warn(java.lang.String message, java.lang.Throwable throwable)
          Log a warn message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogKitLogger

  public LogKitLogger(org.apache.log.Logger logImpl)
Create a logger that delegates to specified logger.

Parameters:
logImpl - the LogKit logger to delegate to
Method Detail

debug

  public final void debug(java.lang.String message)
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
message - the message

debug

  public final void debug(java.lang.String message,
                          java.lang.Throwable throwable)
Log a debug message.

Specified by:
debug in interface Logger
Parameters:
message - the message
throwable - the throwable

isDebugEnabled

  public final boolean isDebugEnabled()
Determine if messages of priority "debug" will be logged.

Specified by:
isDebugEnabled in interface Logger
Returns:
true if "debug" messages will be logged

info

  public final void info(java.lang.String message)
Log a info message.

Specified by:
info in interface Logger
Parameters:
message - the message

info

  public final void info(java.lang.String message,
                         java.lang.Throwable throwable)
Log a info message.

Specified by:
info in interface Logger
Parameters:
message - the message
throwable - the throwable

isInfoEnabled

  public final boolean isInfoEnabled()
Determine if messages of priority "info" will be logged.

Specified by:
isInfoEnabled in interface Logger
Returns:
true if "info" messages will be logged

warn

  public final void warn(java.lang.String message)
Log a warn message.

Specified by:
warn in interface Logger
Parameters:
message - the message

warn

  public final void warn(java.lang.String message,
                         java.lang.Throwable throwable)
Log a warn message.

Specified by:
warn in interface Logger
Parameters:
message - the message
throwable - the throwable

isWarnEnabled

  public final boolean isWarnEnabled()
Determine if messages of priority "warn" will be logged.

Specified by:
isWarnEnabled in interface Logger
Returns:
true if "warn" messages will be logged

error

  public final void error(java.lang.String message)
Log a error message.

Specified by:
error in interface Logger
Parameters:
message - the message

error

  public final void error(java.lang.String message,
                          java.lang.Throwable throwable)
Log a error message.

Specified by:
error in interface Logger
Parameters:
message - the message
throwable - the throwable

isErrorEnabled

  public final boolean isErrorEnabled()
Determine if messages of priority "error" will be logged.

Specified by:
isErrorEnabled in interface Logger
Returns:
true if "error" messages will be logged

fatalError

  public final void fatalError(java.lang.String message)
Log a fatalError message.

Specified by:
fatalError in interface Logger
Parameters:
message - the message

fatalError

  public final void fatalError(java.lang.String message,
                               java.lang.Throwable throwable)
Log a fatalError message.

Specified by:
fatalError in interface Logger
Parameters:
message - the message
throwable - the throwable

isFatalErrorEnabled

  public final boolean isFatalErrorEnabled()
Determine if messages of priority "fatalError" will be logged.

Specified by:
isFatalErrorEnabled in interface Logger
Returns:
true if "fatalError" messages will be logged

getChildLogger

  public final Logger getChildLogger(java.lang.String name)
Create a new child logger. The name of the child logger is [current-loggers-name].[passed-in-name]

Specified by:
getChildLogger in interface Logger
Parameters:
name - the subname of this logger
Returns:
the new logger
Throws:
java.lang.IllegalArgumentException - if name has an empty element name


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/api/org/apache/avalon/framework/logger/Logger.html Index: Logger.html =================================================================== Logger (Avalon API)

org.apache.avalon.framework.logger
Interface Logger

All Known Implementing Classes:
Jdk14Logger, Log4JLogger, LogKitLogger

public interface Logger

This is a facade for the different logging subsystems. It offers a simplified interface that follows IOC patterns and a simplified priority/level/severity abstraction.

Author:
Peter Donald

Method Summary
 void debug(java.lang.String message)
          Log a debug message.
 void debug(java.lang.String message, java.lang.Throwable throwable)
          Log a debug message.
 void error(java.lang.String message)
          Log a error message.
 void error(java.lang.String message, java.lang.Throwable throwable)
          Log a error message.
 void fatalError(java.lang.String message)
          Log a fatalError message.
 void fatalError(java.lang.String message, java.lang.Throwable throwable)
          Log a fatalError message.
 Logger getChildLogger(java.lang.String name)
          Create a new child logger.
 void info(java.lang.String message)
          Log a info message.
 void info(java.lang.String message, java.lang.Throwable throwable)
          Log a info message.
 boolean isDebugEnabled()
          Determine if messages of priority "debug" will be logged.
 boolean isErrorEnabled()
          Determine if messages of priority "error" will be logged.
 boolean isFatalErrorEnabled()
          Determine if messages of priority "fatalError" will be logged.
 boolean isInfoEnabled()
          Determine if messages of priority "info" will be logged.
 boolean isWarnEnabled()
          Determine if messages of priority "warn" will be logged.
 void warn(java.lang.String message)
          Log a warn message.
 void warn(java.lang.String message, java.lang.Throwable throwable)
          Log a warn message.
 

Method Detail

debug

  public void debug(java.lang.String message)
Log a debug message.

Parameters:
message - the message

debug

  public void debug(java.lang.String message,
                    java.lang.Throwable throwable)
Log a debug message.

Parameters:
message - the message
throwable - the throwable

isDebugEnabled

  public boolean isDebugEnabled()
Determine if messages of priority "debug" will be logged.

Returns:
true if "debug" messages will be logged

info

  public void info(java.lang.String message)
Log a info message.

Parameters:
message - the message

info

  public void info(java.lang.String message,
                   java.lang.Throwable throwable)
Log a info message.

Parameters:
message - the message
throwable - the throwable

isInfoEnabled

  public boolean isInfoEnabled()
Determine if messages of priority "info" will be logged.

Returns:
true if "info" messages will be logged

warn

  public void warn(java.lang.String message)
Log a warn message.

Parameters:
message - the message

warn

  public void warn(java.lang.String message,
                   java.lang.Throwable throwable)
Log a warn message.

Parameters:
message - the message
throwable - the throwable

isWarnEnabled

  public boolean isWarnEnabled()
Determine if messages of priority "warn" will be logged.

Returns:
true if "warn" messages will be logged

error

  public void error(java.lang.String message)
Log a error message.

Parameters:
message - the message

error

  public void error(java.lang.String message,
                    java.lang.Throwable throwable)
Log a error message.

Parameters:
message - the message
throwable - the throwable

isErrorEnabled

  public boolean isErrorEnabled()
Determine if messages of priority "error" will be logged.

Returns:
true if "error" messages will be logged

fatalError

  public void fatalError(java.lang.String message)
Log a fatalError message.

Parameters:
message - the message

fatalError

  public void fatalError(java.lang.String message,
                         java.lang.Throwable throwable)
Log a fatalError message.

Parameters:
message - the message
throwable - the throwable

isFatalErrorEnabled

  public boolean isFatalErrorEnabled()
Determine if messages of priority "fatalError" will be logged.

Returns:
true if "fatalError" messages will be logged

getChildLogger

  public Logger getChildLogger(java.lang.String name)
Create a new child logger. The name of the child logger is [current-loggers-name].[passed-in-name]

Parameters:
name - the subname of this logger
Returns:
the new logger
Throws:
java.lang.IllegalArgumentException - if name has an empty element name


Copyright � 2001 Apache Jakarta Project. All Rights Reserved. 1.1 jakarta-avalon-site/docs/authors/avalon-doc.html Index: avalon-doc.html =================================================================== The. Avalon Documentation Team




Jakarta main

Avalon main

Authors


The. Avalon Documentation Team

Author: The. Avalon Documentation Team


Affiliations


    Bio

      The Avalon Documentation Team is the full group of developers who contribute toward our site documentation. Please direct all inquiries about the site to the mailing list. It really helps everyone involved.



    Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
    1.1 jakarta-avalon-site/docs/authors/eungju.html Index: eungju.html =================================================================== Mr. Eung-ju Park




    Jakarta main

    Avalon main

    Authors


    Mr. Eung-ju Park

    Author: Mr. Eung-ju Park


    Affiliations

    • [ISOFT] ProgrammerISOFT Inc.

    Bio

      His main contribution is PhoenixServlet, cache package and small bug fixes. He is working for small company instead of joning army(Korean man have liabillity for military service). But will be back to university for studying computer engineering.



    Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
    1.1 jakarta-avalon-site/docs/authors/fede.html Index: fede.html =================================================================== Mr. Federico Barbieri




    Jakarta main

    Avalon main

    Authors


    Mr. Federico Barbieri

    Author: Mr. Federico Barbieri


    Affiliations


      Bio

        Federico is one of the original architects of Avalon. He was heavily involved until Peter and Berin became part of the project.



      Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
      1.1 jakarta-avalon-site/docs/authors/hammant.html Index: hammant.html =================================================================== Mr. Paul Hammant




      Jakarta main

      Avalon main

      Authors


      Mr. Paul Hammant

      Author: Mr. Paul Hammant


      Affiliations


        Bio

          Paul is most interested in applications that run in/on Phoenix. As such he constantly trawls the internet look for suitable server applications for Pheonix. He tries to persuade the authors to rebase to Phoenix.

          Paul wrote some of the demos for Cornerstone. He also started AvalonDB and Jesktop. He also looks other blocks like "Bay" (the wrapper for Catalina for Phoenix) and Soapification (a wrapper for Glue).



        Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
        1.1 jakarta-avalon-site/docs/authors/lsimons.html Index: lsimons.html =================================================================== Mr. Leo Simons




        Jakarta main

        Avalon main

        Authors


        Mr. Leo Simons

        Author: Mr. Leo Simons


        Affiliations


          Bio

            Leo Simons has been instrumental in documentation and working on Avalon Phoenix.



          Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
          1.1 jakarta-avalon-site/docs/authors/peter.html Index: peter.html =================================================================== Mr. Peter Donald




          Jakarta main

          Avalon main

          Authors


          Mr. Peter Donald

          Author: Mr. Peter Donald


          Affiliations

          • [ASF] Project Management CommitteeApache Software Foundation/Apache Avalon
          • [ASF] Programmer/AnalystStock Software

          Bio

            Peter initially became involved with Avalon after he realized that his own product (Telanon) showed remarkable similarities to Avalon. He is the main architect and developer for the Phoenix application server, and the LogKit logging toolkit. He is also involved with the Ant project.

            Outside the scope of the ASF, Peter is actively building a distributed virtual environment (DVE). This DVE is based on Phoenix and is dervied from work in military simulations, interactive entertainment industry (ie 3D games), and the academic community. He has also completed studies in areas such as linguistics, logic, philosophy, psychology, neuroscience, mythology/history and computer science.



          Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
          1.1 jakarta-avalon-site/docs/authors/pier.html Index: pier.html =================================================================== Mr. Pier Fumagalli




          Jakarta main

          Avalon main

          Authors


          Mr. Pier Fumagalli

          Author: Mr. Pier Fumagalli


          Affiliations


            Bio

              Pier is an open source developer who got involved with the Apache JServ project a few years ago. Since august 2000 he works for Sun Microsystems.



            Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
            1.1 jakarta-avalon-site/docs/authors/roberto.html Index: roberto.html =================================================================== Mr. Roberto Lo Giacco




            Jakarta main

            Avalon main

            Authors


            Mr. Roberto Lo Giacco

            Author: Mr. Roberto Lo Giacco


            Affiliations


              Bio

                Roberto helped us finalize some of our contracts and coding standards.



              Copyright ©1999-2001 by the Apache Software Foundation. All Rights Reserved.
              -- To unsubscribe, e-mail: For additional commands, e-mail: