org.apache.log4j.joran.action
Class AppenderAction
java.lang.Object
|
+--org.apache.log4j.spi.ComponentBase
|
+--org.apache.log4j.joran.action.Action
|
+--org.apache.log4j.joran.action.AppenderAction
- All Implemented Interfaces:
- Component
- public class AppenderAction
- extends Action
Method Summary |
void |
begin(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String localName,
Attributes attributes)
Instantiates an appender of the given class and sets its name.
|
void |
end(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String name)
Once the children elements are also parsed, now is the time to activate
the appender options. |
void |
finish(org.apache.log4j.joran.spi.ExecutionContext ec)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AppenderAction
public AppenderAction()
begin
public void begin(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String localName,
Attributes attributes)
throws org.apache.log4j.joran.spi.ActionException
- 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
org.apache.log4j.joran.spi.ActionException
end
public void end(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String name)
- 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(org.apache.log4j.joran.spi.ExecutionContext ec)
Copyright 2000-2005 Apache Software Foundation.