Log4j 1.3alpha-8

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ü

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, Properties props)
           
 void setProperty(org.apache.log4j.joran.spi.ExecutionContext ec, String key, 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, getLoggerRepository, getNonFloodingLogger, resetErrorCount, 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,
                          Properties props)

setProperty

public void setProperty(org.apache.log4j.joran.spi.ExecutionContext ec,
                        String key,
                        String value)

Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.