org.apache.empire.xml
Class XMLConfiguration

java.lang.Object
  extended by org.apache.empire.commons.ErrorObject
      extended by 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.
 


Constructor Summary
XMLConfiguration()
           
 
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 org.apache.empire.commons.ErrorObject
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfiguration

public XMLConfiguration()
Method Detail

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)