com.counterclaim.openefm.config
Class XmlConfigurator

java.lang.Object
  |
  +--com.counterclaim.openefm.config.XmlConfigurator

public class XmlConfigurator
extends java.lang.Object


Constructor Summary
XmlConfigurator(java.lang.String configuration)
          Constructor.
XmlConfigurator(java.net.URL configuration)
          Constructor.
 
Method Summary
 void configure(OpenEFMServer server)
          Configure an object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -  
Method Detail

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.