org.apache.log4j.joran.action
Class SubstitutionPropertyAction
java.lang.Object
|
+--org.apache.log4j.spi.ComponentBase
|
+--org.apache.log4j.joran.action.Action
|
+--org.apache.log4j.joran.action.PropertyAction
|
+--org.apache.log4j.joran.action.SubstitutionPropertyAction
- All Implemented Interfaces:
- Component
- public class SubstitutionPropertyAction
- extends PropertyAction
This action sets new substitution properties for the execution context by
name, value pair, or adds all the properties passed in the Properties
argument.
- Author:
- Ceki Gülcü
Method Summary |
void |
setProperties(org.apache.log4j.joran.spi.ExecutionContext ec,
java.util.Properties props)
|
void |
setProperty(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String key,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SubstitutionPropertyAction
public SubstitutionPropertyAction()
setProperties
public void setProperties(org.apache.log4j.joran.spi.ExecutionContext ec,
java.util.Properties props)
- Overrides:
setProperties
in class PropertyAction
setProperty
public void setProperty(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String key,
java.lang.String value)
- Overrides:
setProperty
in class PropertyAction
Copyright 2000-2005 Apache Software Foundation.