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.


Constructor Summary
XMLConfigLoader(java.io.File oConfigFile)
          This constructor was written to faciliate testing the config loader by loading a file directly from the filesystem.
XMLConfigLoader(javax.servlet.ServletConfig oServletConfig)
           
 
Method Summary
 Config getConfig()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigLoader

public XMLConfigLoader(javax.servlet.ServletConfig oServletConfig)

XMLConfigLoader

public XMLConfigLoader(java.io.File oConfigFile)
This constructor was written to faciliate testing the config loader by loading a file directly from the filesystem.

Parameters:
oConfigFile -
Method Detail

getConfig

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

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.