|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.platform.config.spi.xml.XMLConfigurationMgr
public class XMLConfigurationMgr
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 |
---|
protected XMLConfigurationMgr()
Method Detail |
---|
public void setMessageBus(MessageBus messageBus)
public static final XMLConfigurationMgr getInstance()
public XMLConfigurationConnector getTransaction(java.lang.String principal) throws ConfigurationException
ConfigurationException
public ConfigurationModelContainerImpl getConfigurationModel(ConfigurationID configID) throws ConfigurationException
Configuration
.
ConfigurationException
public static ConfigurationID getDesignatedConfigurationID(java.lang.String designation) throws ConfigurationException
designation
- String indicating which of the system configurations
is desired; use one of the SystemConfigurationNames
constantsjdbcConnection
- connection to the proper config database
ConfigurationException
- if an error occurred within or during
communication with the Configuration Service.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |