com.counterclaim.openefm.config
Class XmlConfigurator
java.lang.Object
com.counterclaim.openefm.config.XmlConfigurator
- public class XmlConfigurator
- extends java.lang.Object
-

|
Field Summary |
private static org.apache.log4j.Logger |
log
|
private org.xml.sax.InputSource |
source
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
source
private org.xml.sax.InputSource source
XmlConfigurator
public XmlConfigurator(java.net.URL configuration)
throws org.xml.sax.SAXException,
java.io.IOException
- Constructor. Reads the XML configuration file.
- Parameters:
configuration -
XmlConfigurator
public XmlConfigurator(java.lang.String configuration)
throws org.xml.sax.SAXException,
java.io.IOException
- Constructor.
- Throws:
org.xml.sax.SAXException
java.io.IOException- Parameters:
configuration - String of XML configuration commands excluding the normal XML preamble.
The String should start with a "
configure
public void configure(OpenEFMServer server)
- Configure an object. If the object is of the approprate class,
the XML configuration script is applied to the object.
- Parameters:
server - The object to be configured.
initDigester
private org.apache.commons.digester.Digester initDigester(OpenEFMServer server)
Copyright © 2002 counterclaim.com. All Rights Reserved.