|
||||||||||
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 single 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. NOTE: - STARTUP - before any changes can be made to any configuration, the the performSystemInitialization must be performed.
Nested Class Summary | |
---|---|
protected class |
XMLConfigurationMgr.ConfigurationChangeListener
|
Method Summary | |
---|---|
void |
applyTransaction(ConfigTransaction transaction)
Apply transaction is called when the Transaction is committed. |
protected void |
clearCache()
|
protected XMLConfigurationMgr.ConfigurationChangeListener |
createChangeListener()
|
ConfigurationModelContainer |
getConfigurationModel(ConfigurationID configID)
Returns the configuration for the specified configID. |
static XMLConfigurationMgr |
getInstance()
Always call getInstance to get the reference to the XMLConfigurationMgr to use to make other method calls on. |
protected java.util.Properties |
getProperties()
|
int |
getServerStartupState()
|
java.util.Date |
getServerStartupTime()
|
void |
init(java.util.Properties properties)
|
boolean |
isServerAvailable()
|
boolean |
isServerStarting()
|
boolean |
isServerStopped()
|
void |
rollbackTransaction()
|
protected void |
setServerStateToStarted()
|
protected void |
setServerStateToStarting(boolean force)
The setting of the server state is not part |
protected void |
setServerStateToStopped()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final XMLConfigurationMgr getInstance()
public void init(java.util.Properties properties) throws ConfigurationException
ConfigurationException
protected java.util.Properties getProperties()
public java.util.Date getServerStartupTime() throws ConfigurationException
ConfigurationException
public int getServerStartupState() throws ConfigurationException
ConfigurationException
public boolean isServerStarting() throws ConfigurationException
ConfigurationException
public boolean isServerStopped() throws ConfigurationException
ConfigurationException
public boolean isServerAvailable() throws ConfigurationException
ConfigurationException
protected void setServerStateToStarting(boolean force) throws StartupStateException, ConfigurationException
StartupStateException
ConfigurationException
protected void setServerStateToStopped() throws StartupStateException, ConfigurationException
StartupStateException
ConfigurationException
protected void setServerStateToStarted() throws StartupStateException, ConfigurationException
StartupStateException
ConfigurationException
public ConfigurationModelContainer getConfigurationModel(ConfigurationID configID) throws ConfigurationException
Configuration
.
ConfigurationException
public void rollbackTransaction()
public void applyTransaction(ConfigTransaction transaction) throws ConfigTransactionException
transaction
- is the transaction that contains the object model that changed
ConfigurationException
- if a problem occurs setting the configuration.
ConfigTransactionException
protected void clearCache()
protected XMLConfigurationMgr.ConfigurationChangeListener createChangeListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |