Package org.apache.commons.logging.impl
package org.apache.commons.logging.impl
Concrete implementations of commons-logging wrapper APIs.
-
ClassesClassDescriptionImplementation of the
org.apache.commons.logging.Log
interface that wraps the standard JDK logging mechanisms that are available in SourceForge's Lumberjack for JDKs prior to 1.4.Implementation of theorg.apache.commons.logging.Log
interface that wraps the standard JDK logging mechanisms that were introduced in the Merlin release (JDK 1.4).Implementation ofLog
that maps directly to a Logger for log4J version 1.2.Concrete subclass ofLogFactory
that implements the following algorithm to dynamically select a logging implementation class to instantiate a wrapper for: Use a factory configuration attribute namedorg.apache.commons.logging.Log
to identify the requested implementation class. Use theorg.apache.commons.logging.Log
system property to identify the requested implementation class. If Log4J is available, return an instance oforg.apache.commons.logging.impl.Log4JLogger
. If JDK 1.4 or later is available, return an instance oforg.apache.commons.logging.impl.Jdk14Logger
. Otherwise, return an instance oforg.apache.commons.logging.impl.SimpleLog
.Trivial implementation of Log that throws away all messages.This class is capable of receiving notifications about the undeployment of a webapp, and responds by ensuring that commons-logging releases all memory associated with the undeployed webapp.Simple implementation of Log that sends all enabled log messages, for all defined loggers, to System.err.Implementation ofHashtable
that usesWeakReference
's to hold its keys thus allowing them to be reclaimed by the garbage collector.Entry implementationWrapper giving correct symantics for equals and hashcodeWeakReference subclass that holds a hard reference to an associatedvalue
and also makes accessible the Referenced object holding it.