org.apache.empire.xml
Class XMLConfiguration
java.lang.Object
org.apache.empire.commons.ErrorObject
org.apache.empire.xml.XMLConfiguration
- All Implemented Interfaces:
- ErrorInfo
public class XMLConfiguration
- extends ErrorObject
This class manages the configuration of a Java Bean by an xml configuration file.
It also supports configuration of Log4J.
Method Summary |
boolean |
init(java.lang.String filename,
boolean fromResource,
boolean initLogging)
Initialize the configuration. |
boolean |
readProperties(java.lang.Object bean,
java.lang.String propertiesNodeName)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLConfiguration
public XMLConfiguration()
init
public boolean init(java.lang.String filename,
boolean fromResource,
boolean initLogging)
- Initialize the configuration.
readProperties
public boolean readProperties(java.lang.Object bean,
java.lang.String propertiesNodeName)