Author: carnold
Date: Sun Jun 10 13:02:11 2007
New Revision: 545927
URL: http://svn.apache.org/viewvc?view=rev&rev=545927
Log:
Bug 42094: Add PluginConfigurator to log4j 1.3 for compatibility with log4j 1.2
+ component companion
Added:
logging/log4j/trunk/src/java/org/apache/log4j/plugins/PluginConfigurator.java
Added:
logging/log4j/trunk/src/java/org/apache/log4j/plugins/PluginConfigurator.java
URL:
http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/plugins/PluginConfigurator.java?view=auto&rev=545927
==============================================================================
---
logging/log4j/trunk/src/java/org/apache/log4j/plugins/PluginConfigurator.java
(added)
+++
logging/log4j/trunk/src/java/org/apache/log4j/plugins/PluginConfigurator.java
Sun Jun 10 13:02:11 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.log4j.plugins;
+
+/**
+ * This class is an alias for org.apache.log4j.xml.DOMConfigurator
+ * provided so Chainsaw can compile against both log4j 1.2
+ * and log4j 1.3. In log4j 1.2, configuration of plugins
+ * requires extending DOMConfigurator.
+ */
+public final class PluginConfigurator extends
+ org.apache.log4j.xml.DOMConfigurator {
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]