org.apache.logging.log4j.core.config
Class PropertiesPlugin

java.lang.Object
  extended by org.apache.logging.log4j.core.config.PropertiesPlugin

@Plugin(name="properties",
        category="Core",
        printObject=true)
public final class PropertiesPlugin
extends Object

Handles properties defined in the configuration.


Method Summary
static StrLookup configureSubstitutor(Property[] properties, Configuration config)
          Create the Properties component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

configureSubstitutor

@PluginFactory
public static StrLookup configureSubstitutor(@PluginElement(value="Properties")
                                                           Property[] properties,
                                                           @PluginConfiguration
                                                           Configuration config)
Create the Properties component.

Parameters:
properties - An array of Property elements.
config - The Configuration.
Returns:
An Interpolator that includes the configuration properties.


Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.