Repository: logging-log4j2 Updated Branches: refs/heads/LOG4J2-1136 10f36a290 -> cb061f1fe
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/cb061f1f Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/cb061f1f Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/cb061f1f Branch: refs/heads/LOG4J2-1136 Commit: cb061f1fe8e5d9c6b322fb88a8bb78d15e18540b Parents: 10f36a2 Author: ggregory <[email protected]> Authored: Mon Sep 28 23:03:04 2015 -0700 Committer: ggregory <[email protected]> Committed: Mon Sep 28 23:03:04 2015 -0700 ---------------------------------------------------------------------- .../apache/logging/log4j/core/config/plugins/PluginFactory.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/cb061f1f/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginFactory.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginFactory.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginFactory.java index dec7161..ac7db29 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginFactory.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginFactory.java @@ -25,6 +25,9 @@ import java.lang.annotation.Target; /** * Identifies a Method as the factory to create the plugin. This annotation should only be used on a {@code static} * method, and its parameters should be annotated with the appropriate Plugin annotations. + * <p> + * There can only be one factory method per class. + * </p> */ @Documented @Retention(RetentionPolicy.RUNTIME)
