|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceComponentConfigInterface
Interface describing operations which pertain to a foundation service's configuration metadata.
Method Summary | |
---|---|
org.w3c.dom.Document |
createDocument(com.sas.metadata.remote.ServiceComponent serviceComponent)
Creates an XML document representation of the service component's configuration. |
java.lang.String |
getConfigName()
Gets the name of the configuration. |
org.w3c.dom.Document |
getDocument()
Creates an XML document represention of foundation service component's configuration that provides the document Element. |
boolean |
isConfigurationUpdateable()
Determines whether or not this service component's configuration is updateable. |
void |
mergeConfigFromFile(com.sas.metadata.remote.ServiceComponent serviceComponent,
java.io.File file)
Updates the service's configuration by adding new service configuration read from the specified file to the service component's pre-existing configuration. |
void |
setConfigName(java.lang.String configName)
Sets the name of the configuration. |
void |
writeServiceConfigToFile(java.io.File file,
com.sas.metadata.remote.ServiceComponent serviceComponent)
Write the service's configuration to the specified output stream. |
Method Detail |
---|
boolean isConfigurationUpdateable()
true
if the service configuration is udpateable
or false
if the configuration may not be updated by merging
a new configuration.org.w3c.dom.Document getDocument() throws ServiceException
ServiceException
- if unable to create a document.org.w3c.dom.Document createDocument(com.sas.metadata.remote.ServiceComponent serviceComponent) throws ServiceException
serviceComponent
- Service component's which will be queried for an XML configuration
stored in an configuration property text store.
null
if a document is unavailable.
ServiceException
- if a failure occurred while attempting to
create an XML document representation of the service configuration.void mergeConfigFromFile(com.sas.metadata.remote.ServiceComponent serviceComponent, java.io.File file) throws ServiceException
serviceComponent
- The service whose configuration is to be updated.file
- File containing the service configuration which is
to be added to the service component's current configuration.
Note that only configuration data
that is additive in nature can be appended. Configuration
data that is non-additive will be ignored.
ServiceException
- if unable to update the service's configuration.void writeServiceConfigToFile(java.io.File file, com.sas.metadata.remote.ServiceComponent serviceComponent) throws ServiceException
file
- File to which the service's configuration is to be written.serviceComponent
- Service component whose configuration is to be written to the
specified file.
ServiceException
- in an exception is encountered writing the
service component's configuration to the specified file.java.lang.String getConfigName()
void setConfigName(java.lang.String configName)
configName
- The name of this configuration.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |