Log4j 1.3alpha-5

org.apache.log4j.joran.action
Class PluginAction

java.lang.Object
  |
  +--org.apache.log4j.spi.ComponentBase
        |
        +--org.apache.log4j.joran.action.Action
              |
              +--org.apache.log4j.joran.action.PluginAction
All Implemented Interfaces:
Component

public class PluginAction
extends Action


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
PluginAction()
           
 
Method Summary
 void begin(org.apache.log4j.joran.spi.ExecutionContext ec, java.lang.String localName, Attributes attributes)
          Instantiates an plugin 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 plugin options.
 void finish(org.apache.log4j.joran.spi.ExecutionContext ec)
           
 
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

PluginAction

public PluginAction()
Method Detail

begin

public void begin(org.apache.log4j.joran.spi.ExecutionContext ec,
                  java.lang.String localName,
                  Attributes attributes)
Instantiates an plugin of the given class and sets its name. The plugin thus generated is placed in the ExecutionContext plugin bag.

Specified by:
begin in class Action

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 plugin options.

Specified by:
end in class Action

finish

public void finish(org.apache.log4j.joran.spi.ExecutionContext ec)

Log4j 1.3alpha-5

Copyright 2000-2005 Apache Software Foundation.