org.exolab.jmscts.provider
Class Configuration

java.lang.Object
  |
  +--org.exolab.jmscts.provider.Configuration

public class Configuration
extends java.lang.Object

The provider configuration

Version:
$Revision: 1.2 $ $Date: 2004/02/02 03:50:09 $
Author:
Tim Anderson
See Also:
Provider, ProviderLoader

Constructor Summary
Configuration()
          Construct a new Configuration
 
Method Summary
 void addProvider(ProviderLoader provider)
          Add a provider
 java.util.ArrayList getProviders()
          Return the providers
static Configuration read(java.lang.String path)
          Read the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Construct a new Configuration
Method Detail

addProvider

public void addProvider(ProviderLoader provider)
Add a provider
Parameters:
provider - the provider

getProviders

public java.util.ArrayList getProviders()
Return the providers
Returns:
the providers

read

public static Configuration read(java.lang.String path)
                          throws java.lang.Exception
Read the configuration
Parameters:
path - the file path to the configuration
Returns:
the read configuration
Throws:
java.lang.Exception - if the configuration can't be read


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.