|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.platform.config.spi.xml.XMLConfigurationReader
public class XMLConfigurationReader
Constructor Summary | |
---|---|
XMLConfigurationReader(ManagedConnection mgdConnection)
|
Method Summary | |
---|---|
boolean |
doesResourceExist(java.lang.String resourceName)
|
ComponentDefn |
getComponentDefinition(ComponentDefnID targetID)
|
ComponentDefn |
getComponentDefinition(ComponentDefnID targetID,
ConfigurationID configurationID)
|
java.util.Map |
getComponentDefinitions(ConfigurationID configID)
|
java.lang.String |
getComponentPropertyValue(ComponentObjectID componentObjectID,
ComponentTypeID typeID,
java.lang.String propertyName)
|
ComponentType |
getComponentType(ComponentTypeID typeID)
|
java.util.Collection |
getComponentTypes(boolean includeDeprecated)
|
java.util.Collection |
getComponenTypeDefinitions(ComponentTypeID componentTypeID)
Takes a ProductType, and puts into it the ComponentTypeID objects representing legal service types for that product type. |
ConfigurationModelContainer |
getConfigurationModel(ConfigurationID configID)
|
java.util.Collection |
getConnectionPools(ConfigurationID configurationID)
|
java.util.List |
getDeployedComponents(ConfigurationID configurationID)
Returns a UIDCollection of all the deployed components for the configuration. |
Configuration |
getDesignatedConfiguration(ConfigurationID configurationID)
Returns one of the well-known system configurations , either
the
operational configuration ,
the
next startup configuration ,
or the
startup configuration . |
Configuration |
getDesignatedConfiguration(java.lang.String name)
Returns the Configuration for the given name, or null if the ID is invalid. |
ConfigurationID |
getDesignatedConfigurationID(java.lang.String designation)
Returns ID of one of the well-known system configurations , either
the
operational configuration ,
the
next startup configuration ,
or the
startup configuration . |
java.util.Properties |
getDesignatedConfigurationProperties(java.lang.String designation)
used specifically by the CurrentConfiguration via JDBCCurrentConfigurationReader |
Host |
getHost(HostID hostID)
|
java.util.Collection |
getHosts()
|
java.util.Collection |
getMonitoredComponentTypes(boolean includeDeprecated)
|
java.util.Collection |
getProductTypes(boolean includeDeprecated)
|
SharedResource |
getResource(java.lang.String resourceName)
|
java.util.Collection |
getResources()
|
int |
getServerStartupState()
Returns the int startup state, use constants in StartupStateController to
interpret the meaning |
java.util.Date |
getServerStartupTime()
Obtain the Date that represents the time the server was started |
ConfigUserTransaction |
getTransaction(java.lang.String principal)
|
boolean |
isDefinitionDeployable(ComponentDefnID defnID)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLConfigurationReader(ManagedConnection mgdConnection)
Method Detail |
---|
public Host getHost(HostID hostID) throws ConfigurationException
ConfigurationException
public java.util.Collection getHosts() throws ConfigurationException
ConfigurationException
public java.util.Date getServerStartupTime() throws ConfigurationException
ConfigurationException
- if an business error occurred within or during communication with the Configuration Service.public ComponentType getComponentType(ComponentTypeID typeID) throws ConfigurationException
ConfigurationException
public java.util.Collection getComponentTypes(boolean includeDeprecated) throws ConfigurationException
ConfigurationException
public java.util.Collection getProductTypes(boolean includeDeprecated) throws ConfigurationException
ConfigurationException
public java.lang.String getComponentPropertyValue(ComponentObjectID componentObjectID, ComponentTypeID typeID, java.lang.String propertyName) throws ConfigurationException
ConfigurationException
public ComponentDefn getComponentDefinition(ComponentDefnID targetID) throws ConfigurationException
ConfigurationException
public ComponentDefn getComponentDefinition(ComponentDefnID targetID, ConfigurationID configurationID) throws ConfigurationException
ConfigurationException
public java.util.Map getComponentDefinitions(ConfigurationID configID) throws ConfigurationException
ConfigurationException
public java.util.Collection getConnectionPools(ConfigurationID configurationID) throws ConfigurationException
ConfigurationException
public java.util.Collection getComponenTypeDefinitions(ComponentTypeID componentTypeID) throws ConfigurationException
ConfigurationException
public java.util.List getDeployedComponents(ConfigurationID configurationID) throws ConfigurationException
ConfigurationException
public java.util.Collection getResources() throws ConfigurationException
ConfigurationException
public SharedResource getResource(java.lang.String resourceName) throws ConfigurationException
ConfigurationException
public int getServerStartupState() throws ConfigurationException
StartupStateController
to
interpret the meaning
ConfigurationException
public boolean doesResourceExist(java.lang.String resourceName) throws ConfigurationException
ConfigurationException
public boolean isDefinitionDeployable(ComponentDefnID defnID) throws ConfigurationException
ConfigurationException
public ConfigurationID getDesignatedConfigurationID(java.lang.String designation) throws ConfigurationException
system configurations
, either
the
operational configuration
,
the
next startup configuration
,
or the
startup configuration
. Use
SystemConfigurationNames
to supply the String parameter. Will
return null if the designation parameter is invalid.
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.public java.util.Properties getDesignatedConfigurationProperties(java.lang.String designation) throws ConfigurationException
ConfigurationException
public Configuration getDesignatedConfiguration(java.lang.String name) throws ConfigurationException
name
- of a valid ConfigurationconfigurationID
- ID of a valid Configuration
ConfigurationException
- if a problem occurs communicating with
the data sourcepublic ConfigurationModelContainer getConfigurationModel(ConfigurationID configID) throws ConfigurationException
ConfigurationException
public Configuration getDesignatedConfiguration(ConfigurationID configurationID) throws ConfigurationException
system configurations
, either
the
operational configuration
,
the
next startup configuration
,
or the
startup configuration
. Use
SystemConfigurationNames
to supply the String parameter. Will
return null if the designation parameter is invalid.
designation
- String indicating which of the system configurations
is desired; use one of the SystemConfigurationNames
constants
ConfigurationException
- if an error occurred within or during
communication with the Configuration Service.public java.util.Collection getMonitoredComponentTypes(boolean includeDeprecated) throws ConfigurationException
ConfigurationException
public ConfigUserTransaction getTransaction(java.lang.String principal) throws ConfigTransactionException
ConfigTransactionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |