com.counterclaim.openefm.config
Class XmlConfigurator
java.lang.Object
|
+--com.counterclaim.openefm.config.XmlConfigurator
- public class XmlConfigurator
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
- Parameters:
configuration
- String of XML configuration commands excluding the normal XML preamble.
The String should start with a "Throws:org.xml.sax.SAXException
- java.io.IOException
-
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.
Copyright © 2002 counterclaim.com. All Rights Reserved.