Log4j 1.3alpha-6

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ü

Field Summary
 
Fields inherited from class org.apache.log4j.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE
 
Fields inherited from class org.apache.log4j.spi.ComponentBase
repository
 
Constructor Summary
SubstitutionPropertyAction()
           
 
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 org.apache.log4j.joran.action.PropertyAction
begin, end, finish
 
Methods inherited from class org.apache.log4j.joran.action.Action
getColumnNumber, getLineNumber, toString
 
Methods inherited from class org.apache.log4j.spi.ComponentBase
getLogger, setLoggerRepository
 
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(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

Log4j 1.3alpha-6

Copyright 2000-2005 Apache Software Foundation.