org.apache.log4j.joran.action
Class PropertyAction
java.lang.Object
|
+--org.apache.log4j.spi.ComponentBase
|
+--org.apache.log4j.joran.action.Action
|
+--org.apache.log4j.joran.action.PropertyAction
- All Implemented Interfaces:
- Component
- Direct Known Subclasses:
- RepositoryPropertyAction, SubstitutionPropertyAction
- public abstract class PropertyAction
- extends Action
This class serves as a base for other actions, which similar to the ANT
task which add/set properties of a given object.
- Author:
- Ceki Gülcü
Method Summary |
void |
begin(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String localName,
Attributes attributes)
Set a new property for the execution context by name, value pair, or adds
all the properties found in the given file. |
void |
end(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String name)
|
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 |
PropertyAction
public PropertyAction()
begin
public void begin(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String localName,
Attributes attributes)
- Set a new property for the execution context by name, value pair, or adds
all the properties found in the given file.
- Specified by:
begin
in class Action
end
public void end(org.apache.log4j.joran.spi.ExecutionContext ec,
java.lang.String name)
- Specified by:
end
in class Action
finish
public void finish(org.apache.log4j.joran.spi.ExecutionContext ec)
Copyright 2000-2005 Apache Software Foundation.