Return to www.inductionframework.org

com.acciente.induction.init.config.xmlconfigloader
Class XMLConfigLoader

java.lang.Object
  extended by com.acciente.induction.init.config.xmlconfigloader.XMLConfigLoader
All Implemented Interfaces:
ConfigLoader

public class XMLConfigLoader
extends java.lang.Object
implements ConfigLoader

An implementation of the ConfigLoader that loads the configuration from an XML file.

Author:
Adinath Raveendra Raj todo: support for a DTD validator to catch simple config errors, otherwise hard to trace

Constructor Summary
XMLConfigLoader(java.lang.String sResourceName)
           
XMLConfigLoader(java.lang.String sResourceName, javax.servlet.ServletConfig oServletConfig)
           
 
Method Summary
 Config getConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigLoader

public XMLConfigLoader(java.lang.String sResourceName)

XMLConfigLoader

public XMLConfigLoader(java.lang.String sResourceName,
                       javax.servlet.ServletConfig oServletConfig)
Method Detail

getConfig

public Config getConfig()
                 throws ConfigLoaderException
Specified by:
getConfig in interface ConfigLoader
Throws:
ConfigLoaderException

Return to www.inductionframework.org

Copyright © 2008-2011 Acciente, LLC. All Rights Reserved.