From 73f2a07e7013d4b66b1a5eead513f7ff9c9b6d36 Mon Sep 17 00:00:00 2001
From: Robert Burrell Donkin
Date: Wed, 18 Jan 2006 21:57:10 +0000
Subject: [PATCH] Added note into javadocs about the fact that getFactory is
not gauranteed to return the same instance per classloader environment. Issue
#38026.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@370278 13f79535-47bb-0310-9956-ffa450edef68
---
src/java/org/apache/commons/logging/LogFactory.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/java/org/apache/commons/logging/LogFactory.java b/src/java/org/apache/commons/logging/LogFactory.java
index 71f3bca..9747189 100644
--- a/src/java/org/apache/commons/logging/LogFactory.java
+++ b/src/java/org/apache/commons/logging/LogFactory.java
@@ -361,6 +361,11 @@ public abstract class LogFactory {
* LogFactory implementation class is utilized, all of the
* properties defined in this file will be set as configuration attributes
* on the corresponding LogFactory instance.
+ *
+ * NOTE - In a multithreaded environment it is possible
+ * that two different instances will be returned for the same
+ * classloader environment.
+ *
*
* @exception LogConfigurationException if the implementation class is not
* available or cannot be instantiated.