Logback API
Version 0.9.8

ch.qos.logback.core.joran.action
Class ContextPropertyAction

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.joran.action.Action
          extended by ch.qos.logback.core.joran.action.PropertyAction
              extended by ch.qos.logback.core.joran.action.ContextPropertyAction
All Implemented Interfaces:
ContextAware

public class ContextPropertyAction
extends PropertyAction

Author:
Ceki Gulcu

Field Summary
 
Fields inherited from class ch.qos.logback.core.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
ContextPropertyAction()
           
 
Method Summary
 void setProperties(InterpretationContext ec, Properties props)
          Add all the properties found in the argument named 'props' to an ExecutionContext.
 void setProperty(InterpretationContext ec, String key, String value)
           
 
Methods inherited from class ch.qos.logback.core.joran.action.PropertyAction
begin, end, finish
 
Methods inherited from class ch.qos.logback.core.joran.action.Action
body, getColumnNumber, getLineNumber, toString
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextPropertyAction

public ContextPropertyAction()
Method Detail

setProperties

public void setProperties(InterpretationContext ec,
                          Properties props)
Add all the properties found in the argument named 'props' to an ExecutionContext.


setProperty

public void setProperty(InterpretationContext ec,
                        String key,
                        String value)

Logback API
Version 0.9.8

Copyright © 2005-2008 QOS.ch. All Rights Reserved.