fedora.server.utilities
Class ConfigurationLoader
java.lang.Object
fedora.server.utilities.ConfigurationLoader
- public class ConfigurationLoader
- extends java.lang.Object
Utility class to load Fedora configuration files (e.g. fedora.fcfg).
-----------------------------------------------------------------------------
License and Copyright: The contents of this file are subject to the
Mozilla Public License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License
at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The
Rector and Visitors of the University of Virginia and Cornell University.
All rights reserved.
-----------------------------------------------------------------------------
- Author:
- Edwin Shin
|
Constructor Summary |
ConfigurationLoader(java.lang.String homeDir,
java.lang.String configFilename)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationLoader
public ConfigurationLoader(java.lang.String homeDir,
java.lang.String configFilename)
getParameters
public java.util.Map getParameters()
getModuleParameters
public java.util.Map getModuleParameters()
getModuleParameters
public java.util.Map getModuleParameters(java.lang.String module)
getDatastoreConfig
public DatastoreConfig getDatastoreConfig(java.lang.String datastoreId)
loadParameters
public static java.util.HashMap loadParameters(java.lang.String homeDir,
java.lang.String configFilename)
throws ServerInitializationException
- Throws:
ServerInitializationException
loadParameters
public static final java.util.HashMap loadParameters(org.w3c.dom.Element element,
java.lang.String dAttribute)
throws ServerInitializationException
- Throws:
ServerInitializationException