Log4j 1.3alpha-1

org.apache.log4j.joran.action
Class SubstitutionPropertyAction

java.lang.Object
  |
  +--org.apache.joran.action.Action
        |
        +--org.apache.log4j.joran.action.PropertyAction
              |
              +--org.apache.log4j.joran.action.SubstitutionPropertyAction

public class SubstitutionPropertyAction
extends PropertyAction

This action set new substitution property for the execution context by name, value pair, or adds all the properties found in the specified file.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class org.apache.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE
 
Constructor Summary
SubstitutionPropertyAction()
           
 
Method Summary
 void setProperties(ExecutionContext ec, java.util.Properties props)
           
 void setProperty(ExecutionContext ec, java.lang.String key, java.lang.String value)
           
 
Methods inherited from class org.apache.log4j.joran.action.PropertyAction
begin, end, finish
 
Methods inherited from class org.apache.joran.action.Action
getColumnNumber, getLineNumber, getLogger, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstitutionPropertyAction

public SubstitutionPropertyAction()
Method Detail

setProperties

public void setProperties(ExecutionContext ec,
                          java.util.Properties props)
Overrides:
setProperties in class PropertyAction

setProperty

public void setProperty(ExecutionContext ec,
                        java.lang.String key,
                        java.lang.String value)
Overrides:
setProperty in class PropertyAction

Log4j 1.3alpha-1

Copyright 2000-2003 Apache Software Foundation.