Compatible change, reveal internal properties that are useful for
discovery... ?should discovery use reflection to try to find these, in absence of explicitly provided values? git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138903 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//logging/src/java/org/apache/commons/logging/LogFactory.java,v 1.9 2002/06/15 18:13:01 craigmcc Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//logging/src/java/org/apache/commons/logging/LogFactory.java,v 1.10 2002/08/09 16:18:36 rsitze Exp $
|
||||||
* $Revision: 1.9 $
|
* $Revision: 1.10 $
|
||||||
* $Date: 2002/06/15 18:13:01 $
|
* $Date: 2002/08/09 16:18:36 $
|
||||||
*
|
*
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
*
|
*
|
||||||
@@ -85,7 +85,7 @@ import java.lang.SecurityException;
|
|||||||
*
|
*
|
||||||
* @author Craig R. McClanahan
|
* @author Craig R. McClanahan
|
||||||
* @author Costin Manolache
|
* @author Costin Manolache
|
||||||
* @version $Revision: 1.9 $ $Date: 2002/06/15 18:13:01 $
|
* @version $Revision: 1.10 $ $Date: 2002/08/09 16:18:36 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract class LogFactory {
|
public abstract class LogFactory {
|
||||||
@@ -94,18 +94,26 @@ public abstract class LogFactory {
|
|||||||
// ----------------------------------------------------- Manifest Constants
|
// ----------------------------------------------------- Manifest Constants
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the property used to identify the LogFactory implementation
|
||||||
|
* class name.
|
||||||
|
*/
|
||||||
|
public static final String FACTORY_PROPERTY =
|
||||||
|
"org.apache.commons.logging.LogFactory";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The fully qualified class name of the fallback <code>LogFactory</code>
|
* The fully qualified class name of the fallback <code>LogFactory</code>
|
||||||
* implementation class to use, if no other can be found.
|
* implementation class to use, if no other can be found.
|
||||||
*/
|
*/
|
||||||
protected static final String FACTORY_DEFAULT =
|
public static final String FACTORY_DEFAULT =
|
||||||
"org.apache.commons.logging.impl.LogFactoryImpl";
|
"org.apache.commons.logging.impl.LogFactoryImpl";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the properties file to search for.
|
* The name of the properties file to search for.
|
||||||
*/
|
*/
|
||||||
protected static final String FACTORY_PROPERTIES =
|
public static final String FACTORY_PROPERTIES =
|
||||||
"commons-logging.properties";
|
"commons-logging.properties";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -116,14 +124,6 @@ public abstract class LogFactory {
|
|||||||
"META-INF/services/org.apache.commons.logging.LogFactory";
|
"META-INF/services/org.apache.commons.logging.LogFactory";
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The name of the property used to identify the LogFactory implementation
|
|
||||||
* class name.
|
|
||||||
*/
|
|
||||||
public static final String FACTORY_PROPERTY =
|
|
||||||
"org.apache.commons.logging.LogFactory";
|
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------- Constructors
|
// ----------------------------------------------------------- Constructors
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user