|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.config.spi.xml.XMLCurrentConfigurationReader
public class XMLCurrentConfigurationReader
| Field Summary | |
|---|---|
static java.lang.String |
INSTALL_DATE
The date of installation of the MetaMatrix suite |
| Constructor Summary | |
|---|---|
XMLCurrentConfigurationReader()
|
|
| Method Summary | |
|---|---|
void |
close()
This method should close the connection to the repository that holds the current configuration. |
void |
connect(java.util.Properties env)
This method should connect to the repository that holds the current configuration, using the specified properties. |
ConfigurationModelContainer |
getConfigurationModel()
Obtain the next startup configuration model. |
java.util.Properties |
getConfigurationProperties()
Obtain the properties for the current configuration. |
protected XMLConfigurationReader |
getConfigurationReader()
|
protected XMLConfigurationWriter |
getConfigurationWriter()
|
Configuration |
getNextStartupConfiguration()
Obtain the next startup configuration. |
protected ConfigUserTransaction |
getWriteTransaction()
|
void |
indicateSystemShutdown()
|
void |
performSystemInitialization(boolean forceInitialization)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INSTALL_DATE
| Constructor Detail |
|---|
public XMLCurrentConfigurationReader()
| Method Detail |
|---|
public void connect(java.util.Properties env)
throws ConfigurationConnectionException
connect in interface CurrentConfigurationReaderenv - the environment properties that define the information
ConfigurationConnectionException - if there is an error establishing the connection.
public void close()
throws java.lang.Exception
close in interface CurrentConfigurationReaderjava.lang.Exception - if there is an error establishing the connection.
public java.util.Properties getConfigurationProperties()
throws ConfigurationException
ConfigurationException - if an error occurred within or during
communication with the repository.
public Configuration getNextStartupConfiguration()
throws ConfigurationException
ConfigurationException - if an error occurred within or during
communication with the repository.
public ConfigurationModelContainer getConfigurationModel()
throws ConfigurationException
getConfigurationModel in interface CurrentConfigurationReaderConfigurationException - if an error occurred within or during
communication with the repository.
public void performSystemInitialization(boolean forceInitialization)
throws StartupStateException,
ConfigurationException
performSystemInitialization in interface CurrentConfigurationReaderStartupStateException
ConfigurationException
public void indicateSystemShutdown()
throws ConfigurationException
indicateSystemShutdown in interface CurrentConfigurationReaderConfigurationExceptionCurrentConfigurationInitializer
protected ConfigUserTransaction getWriteTransaction()
throws ConfigTransactionException,
ConfigurationException
ConfigTransactionException
ConfigurationExceptionprotected XMLConfigurationReader getConfigurationReader()
protected XMLConfigurationWriter getConfigurationWriter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||