implements FlumeEventFactory {
private final AbstractFlumeManager manager;
Modified: logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/test/FlumeKeyProvider.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/test/FlumeKeyProvider.java?rev=1479232&r1=1479231&r2=1479232&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/test/FlumeKeyProvider.java (original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/test/java/org/apache/logging/log4j/flume/test/FlumeKeyProvider.java Sun May 5 03:08:39 2013
@@ -25,7 +25,7 @@ import javax.crypto.spec.SecretKeySpec;
/**
*
*/
-@Plugin(name = "FlumeKeyProvider", type = "KeyProvider", elementType = "SecretKeyProvider", printObject = true)
+@Plugin(name = "FlumeKeyProvider", category = "KeyProvider", elementType = "SecretKeyProvider", printObject = true)
public class FlumeKeyProvider implements SecretKeyProvider {
private static final byte[] key = new byte[] {-7, -21, -118, -25, -79, 73, 72, -64, 0, 127, -93, -13, -38,
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml?rev=1479232&r1=1479231&r2=1479232&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/extending.xml Sun May 5 03:08:39 2013
@@ -97,7 +97,7 @@
passed the Node tree and instantiate the configuration objects from that.
-@Plugin(name = "XMLConfigurationFactory", type = "ConfigurationFactory")
+@Plugin(name = "XMLConfigurationFactory", category = "ConfigurationFactory")
@Order(5)
public class XMLConfigurationFactory extends ConfigurationFactory {
@@ -137,7 +137,7 @@ public class XMLConfigurationFactory ext
The following example shows how the root LoggerConfig simply extends a generic LoggerConfig.
-@Plugin(name = "sys", type = "Lookup")
+@Plugin(name = "sys", category = "Lookup")
public class SystemPropertiesLookup implements StrLookup {
/**
@@ -211,7 +211,7 @@ public class SystemPropertiesLookup impl
typical pattern where all the filter methods resolve to a single filter method.
-@Plugin(name = "ThresholdFilter", type = "Core", elementType = "filter", printObject = true)
+@Plugin(name = "ThresholdFilter", category = "Core", elementType = "filter", printObject = true)
public final class ThresholdFilter extends AbstractFilter {
private final Level level;
@@ -287,7 +287,7 @@ public final class ThresholdFilter exten
requiring that logging pause while the reconfiguration takes place.
-@Plugin(name = "Stub", type = "Core", elementType = "appender", printObject = true)
+@Plugin(name = "Stub", category = "Core", elementType = "appender", printObject = true)
public final class StubAppender extends OutputStreamAppender {
private StubAppender(String name, Layout layout, Filter filter, StubManager manager,
@@ -334,7 +334,7 @@ public final class StubAppender extends
methods parameters annotated with PluginAttr or PluginElement as appropriate.
-@Plugin(name = "SampleLayout", type = "Core", elementType = "layout", printObject = true)
+@Plugin(name = "SampleLayout", category = "Core", elementType = "layout", printObject = true)
public class SampleLayout extends AbstractStringLayout {
protected SampleLayout(boolean locationInfo, boolean properties, boolean complete,
@@ -386,7 +386,7 @@ public class SampleLayout extends Abstra
The following shows the skeleton of a Converter plugin.
-@Plugin(name = "query", type = "Converter")
+@Plugin(name = "query", category = "Converter")
@ConverterKeys({"q", "query"})
public final class QueryConverter extends LogEventPatternConverter {
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml?rev=1479232&r1=1479231&r2=1479232&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/plugins.xml Sun May 5 03:08:39 2013
@@ -37,7 +37,7 @@
initialization the Configuration will invoke the PluginManager to locate all the Log4j plugins
that are located in the declared packages.
As the configuration is processed the appropriate plugins will be automatically configured and
- initialized. Log4j 2 utilizes a few different types of plugins which are described in the follownig
+ initialized. Log4j 2 utilizes a few different categories of plugins which are described in the following
sections.