org.exolab.jms.config
Class ConfigurationLoader

java.lang.Object
  |
  +--org.exolab.jms.config.ConfigurationLoader

public class ConfigurationLoader
extends java.lang.Object

The ConfigurationLoader loads a Configuration document and populates unset items with those provided by DefaultConfiguration

Version:
$Revision: 1.9 $ $Date: 2003/10/29 04:58:32 $
Author:
Tim Anderson
See Also:
Configuration

Constructor Summary
ConfigurationLoader()
           
 
Method Summary
 org.exolab.jms.config.Configuration load(org.exolab.jms.config.Configuration config)
           
 org.exolab.jms.config.Configuration load(java.lang.String path)
          Load the configuraiton information from the specified file and return it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationLoader

public ConfigurationLoader()
Method Detail

load

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
Load the configuraiton information from the specified file and return it.
Parameters:
path - the path to the file
Returns:
the configuration file
Throws:
java.io.IOException -  
org.exolab.castor.xml.MarshalException -  
org.exolab.castor.xml.ValidationException -  

load

public 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


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.