|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.config.ConfigurationLoader
public class ConfigurationLoader
The ConfigurationLoader loads a Configuration
document and populates
unset items with those provided by DefaultConfiguration
.
Configuration
Constructor Summary | |
---|---|
ConfigurationLoader()
Construct a new ConfigurationLoader . |
Method Summary | |
---|---|
org.exolab.jms.config.Configuration |
load(org.exolab.jms.config.Configuration config)
Loads unpopulated elements in the supplied configuration with default values. |
org.exolab.jms.config.Configuration |
load(java.lang.String path)
Loads the configuration information from the specified file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationLoader()
ConfigurationLoader
.
Method Detail |
---|
public org.exolab.jms.config.Configuration load(java.lang.String path) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
DefaultConfiguration
.
path
- the path to the file
java.io.IOException
- for any I/O error
org.exolab.castor.xml.MarshalException
- if there is an error during unmarshalling
org.exolab.castor.xml.ValidationException
- if there is a validation errorpublic org.exolab.jms.config.Configuration load(org.exolab.jms.config.Configuration config) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
DefaultConfiguration
.
config
- the configuration
java.io.IOException
- for any I/O error
org.exolab.castor.xml.MarshalException
- if there is an error during unmarshalling
org.exolab.castor.xml.ValidationException
- if there is a validation error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |