com.metamatrix.platform.config.spi.xml
Class XMLConfigurationMgr

java.lang.Object
  extended by com.metamatrix.platform.config.spi.xml.XMLConfigurationMgr

public class XMLConfigurationMgr
extends java.lang.Object

Created on Aug 27, 2002 The Mgr operates under the singleton pattern. It uses other components to manage the configuration. This would include transactions and persistence. Those components are implemented such they can be changed so that the behavior of the mgr is changed.


Constructor Summary
protected XMLConfigurationMgr()
           
 
Method Summary
 ConfigurationModelContainerImpl getConfigurationModel(ConfigurationID configID)
          Returns the configuration for the specified configID.
static ConfigurationID getDesignatedConfigurationID(java.lang.String designation)
          Returns ID of one of the well-known configuration.
static XMLConfigurationMgr getInstance()
          Always call getInstance to get the reference to the XMLConfigurationMgr to use to make other method calls on.
 XMLConfigurationConnector getTransaction(java.lang.String principal)
           
 void setMessageBus(MessageBus messageBus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigurationMgr

protected XMLConfigurationMgr()
Method Detail

setMessageBus

public void setMessageBus(MessageBus messageBus)

getInstance

public static final XMLConfigurationMgr getInstance()
Always call getInstance to get the reference to the XMLConfigurationMgr to use to make other method calls on.


getTransaction

public XMLConfigurationConnector getTransaction(java.lang.String principal)
                                         throws ConfigurationException
Throws:
ConfigurationException

getConfigurationModel

public ConfigurationModelContainerImpl getConfigurationModel(ConfigurationID configID)
                                                      throws ConfigurationException
Returns the configuration for the specified configID. Configuration.

Throws:
ConfigurationException

getDesignatedConfigurationID

public static ConfigurationID getDesignatedConfigurationID(java.lang.String designation)
                                                    throws ConfigurationException
Returns ID of one of the well-known configuration. Will return null if the designation parameter is invalid.

Parameters:
designation - String indicating which of the system configurations is desired; use one of the SystemConfigurationNames constants
jdbcConnection - connection to the proper config database
Returns:
the desired ConfigurationID
Throws:
ConfigurationException - if an error occurred within or during communication with the Configuration Service.


Copyright © 2009. All Rights Reserved.