You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/04/27 03:30:58 UTC

svn commit: r1590336 - /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java

Author: mattsicker
Date: Sun Apr 27 01:30:58 2014
New Revision: 1590336

URL: http://svn.apache.org/r1590336
Log:
Add deprecated docs.

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java?rev=1590336&r1=1590335&r2=1590336&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/util/PluginManager.java Sun Apr 27 01:30:58 2014
@@ -85,6 +85,13 @@ public class PluginManager {
         this.clazz = clazz;
     }
 
+    /**
+     * Process annotated plugins.
+     * @deprecated Use {@link org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor} instead. To do
+     * so, simply include {@code log4j-core} in your dependencies and make sure annotation processing is not disabled.
+     * By default, supported Java compilers will automatically use that plugin processor provided {@code log4j-core}
+     * is on the classpath.
+     */
     @Deprecated // use PluginProcessor instead
     public static void main(final String[] args) throws Exception {
         System.err.println("WARNING: this tool is superseded by the annotation processor included in log4j-core.");