Log4j 1.3alpha

org.apache.joran.action
Class AppenderAction

java.lang.Object
  |
  +--org.apache.joran.action.Action
        |
        +--org.apache.joran.action.AppenderAction

public class AppenderAction
extends Action


Field Summary
 
Fields inherited from class org.apache.joran.action.Action
inError
 
Constructor Summary
AppenderAction()
           
 
Method Summary
 void begin(ExecutionContext ec, Element appenderElement)
          Instantiates an appender of the given class and sets its name.
 void end(ExecutionContext ec, Element e)
          Once the children elements are also parsed, now is the time to activate the appender options.
 void finish(ExecutionContext ec)
           
 
Methods inherited from class org.apache.joran.action.Action
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppenderAction

public AppenderAction()
Method Detail

begin

public void begin(ExecutionContext ec,
                  Element appenderElement)
Instantiates an appender of the given class and sets its name. The appender thus generated is placed in the ExecutionContext appender bag.

Specified by:
begin in class Action

end

public void end(ExecutionContext ec,
                Element e)
Once the children elements are also parsed, now is the time to activate the appender options.

Specified by:
end in class Action

finish

public void finish(ExecutionContext ec)
Specified by:
finish in class Action

Log4j 1.3alpha

Copyright 2000-2003 Apache Software Foundation.