com.counterclaim.openefm.config
Class XmlConfigurator

java.lang.Object
  extended bycom.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
           
 
Constructor Summary
XmlConfigurator(java.lang.String configuration)
          Constructor.
XmlConfigurator(java.net.URL configuration)
          Constructor.
 
Method Summary
 void configure(OpenEFMServer server)
          Configure an object.
private  org.apache.commons.digester.Digester initDigester(OpenEFMServer server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log

source

private org.xml.sax.InputSource source
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.

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 "
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.

initDigester

private org.apache.commons.digester.Digester initDigester(OpenEFMServer server)


Copyright © 2002 counterclaim.com. All Rights Reserved.