public interface Updater
| Modifier and Type | Method and Description |
|---|---|
void |
addCluster(String clusterNameRef) |
void |
addComponent(ComponentInfo componentInfo)
Add a component to the runtime target
|
void |
addComponent(String targetName,
ComponentInfo componentInfo)
Add a component to a given target.
|
void |
addComponent(String componentName,
String fileName,
Calendar timestamp)
Add a domain component
|
void |
addComponentApplicationConfiguration(String componentName,
Properties appConfig)
Add a named application configuration to the registry for the component for the
implicit runtime target.
|
void |
addComponentApplicationConfiguration(String componentName,
String targetName,
Properties appConfig)
Add a named application configuration to the registry for the component for the
specified runtime target.
|
void |
addComponentApplicationVariables(String componentName,
ComponentInfo.Variable[] appVars)
Add a set of application variables to the registry for the runtime target.
|
void |
addComponentApplicationVariables(String componentName,
String targetName,
ComponentInfo.Variable[] appVars)
Add a set of application variables to the registry for the specified target.
|
void |
addServer(String serverNameRef) |
void |
addServiceAssembly(String saName)
Add a service assembly to he runtime's target
|
void |
addServiceAssembly(String targetName,
String saName)
Add a service assembly to a given target.
|
void |
addServiceAssembly(String saName,
String fileName,
Calendar timestamp)
Add a service assembly to the domain.
|
void |
addServiceUnitToComponent(String componentName,
ServiceUnitInfo suInfo)
Add a ServiceUnit to a Component for the runtime target
|
void |
addServiceUnitToComponent(String targetName,
String componentName,
ServiceUnitInfo suInfo)
Add a ServiceUnit to a Component
|
void |
addSharedLibrary(ComponentInfo sharedLibraryInfo)
Add a shared library to he runtime's target
|
void |
addSharedLibrary(String targetName,
ComponentInfo sharedLibraryInfo)
Add a shared library to a given target.
|
void |
addSharedLibrary(String slName,
String fileName,
Calendar timestamp)
Add a domain shared library
|
void |
deleteAttribute(ConfigurationCategory type,
String name)
Delete the named attribute from the category if it exists, for the implicit target.
|
void |
deleteAttribute(String targetName,
ConfigurationCategory type,
String name)
Delete the named attribute from the category if it exists.
|
void |
deleteComponentApplicationConfiguration(String componentName,
String appConfigName)
Delete a named application configuration
|
void |
deleteComponentApplicationConfiguration(String componentName,
String targetName,
String appConfigName)
Delete a named application configuration
|
void |
deleteComponentApplicationVariables(String componentName,
String[] names)
Delete a set of application variables from the registry for the runtime target.
|
void |
deleteComponentApplicationVariables(String componentName,
String targetName,
String[] names)
Add a set of application variables to the registry for the specified target.
|
void |
removeCluster(String clusterNameRef) |
void |
removeComponent(String componentName)
Remove a component from the runtime's target
|
void |
removeComponent(String targetName,
String componentName)
Remove a component from a given target.
|
void |
removeServer(String serverNameRef) |
void |
removeServiceAssembly(String serviceAssemblyName)
Remove a service assembly from a given target.
|
void |
removeServiceAssembly(String targetName,
String serviceAssemblyName)
Remove a service assembly from a given target.
|
void |
removeServiceUnitFromComponent(String componentName,
String suName)
Remove a ServiceUnit from a Component for the runtime target
|
void |
removeServiceUnitFromComponent(String targetName,
String componentName,
String suName)
Remove a ServiceUnit from a Component
|
void |
removeSharedLibrary(String sharedLibraryName)
Remove a shared library from the runtimes target
|
void |
removeSharedLibrary(String targetName,
String sharedLibraryName)
Remove a shared library from a given target.
|
void |
setAttribute(ConfigurationCategory type,
String name,
String value)
Set the value of a configuration attribute belonging to the
specified category, for the runtime target.
|
void |
setAttribute(String targetName,
ConfigurationCategory type,
String name,
String value)
Get the value of a configuration attribute belonging to the
specified category, for the runtime target.
|
void |
setComponentAttribute(String componentName,
String name,
String value)
Set the value of a configuration attribute for a component installed on a target
for the runtime target.
|
void |
setComponentAttribute(String componentName,
String targetName,
String name,
String value)
Set the value of a configuration attribute for a component installed on a target,
|
void |
setComponentAttributes(String componentName,
Properties props)
Set the value of a configuration attribute for a component installed on a target
for the runtime target.
|
void |
setComponentAttributes(String componentName,
String targetName,
Properties props)
Set the value of a configuration attribute for a component installed on a target,
|
void |
setComponentFileName(String fileName,
String componentName)
Set the file name for the domain component.
|
void |
setComponentProperties(String targetName,
Map<String,String> state,
String componentName)
Set the properties of a component in a server/cluster.
|
void |
setComponentState(ComponentState state,
String componentName)
Set the state of a component for the target at runtime.
|
void |
setComponentState(String targetName,
ComponentState state,
String componentName)
Set the state of a component in a server/cluster.
|
void |
setComponentUpgradeNumber(String componentName,
BigInteger upgradeNumber)
This method is used to set the upgrade-number attribute in the domain
level entry for a component
|
void |
setServiceAssemblyFileName(String fileName,
String saName)
Set the file name for the domain service assembly.
|
void |
setServiceAssemblyState(ServiceAssemblyState state,
String saName)
Set the state of a ServiceAssembly for the runtime target.
|
void |
setServiceAssemblyState(String targetName,
ServiceAssemblyState state,
String saName)
Set the state of a ServiceAssembly in a server / cluster.
|
void |
setServiceUnitState(ServiceUnitState state,
String componentName,
String suName)
Set the state of a ServiceUnit for the runtime target.
|
void |
setServiceUnitState(String targetName,
ServiceUnitState state,
String componentName,
String suName)
Set the state of a ServiceUnit in a server / cluster.
|
void |
setSharedLibraryFileName(String fileName,
String slName)
Set the file name for the domain shared library.
|
void |
updateComponentApplicationConfiguration(String componentName,
Properties appConfig)
Update a named application configuration set on a component
for the implicit runtime target.
|
void |
updateComponentApplicationConfiguration(String componentName,
String targetName,
Properties appConfig)
Update a named application configuration set on a component
for the specified runtime target.
|
void |
updateComponentApplicationVariables(String componentName,
ComponentInfo.Variable[] appVars)
Update a set of application variables to the registry for the runtime target.
|
void |
updateComponentApplicationVariables(String componentName,
String targetName,
ComponentInfo.Variable[] appVars)
Updated a set of application variables to the registry for the specified target.
|
void addComponent(ComponentInfo componentInfo) throws RegistryException
componentInfo - - component instanceRegistryException - on errorsvoid addComponent(String targetName, ComponentInfo componentInfo) throws RegistryException
targetName - - {'domain', 'server', "instance-name", "cluster-name"}
not considered when targetType = DOMAIN.componentInfo - - component instanceRegistryException - on errorsvoid removeComponent(String componentName) throws RegistryException
componentName - - component nameRegistryException - on errorsvoid removeComponent(String targetName, String componentName) throws RegistryException
targetName - - {'domain', 'server', "instance-name", "cluster-name"}componentName - - component nameRegistryException - on errorsvoid addSharedLibrary(ComponentInfo sharedLibraryInfo) throws RegistryException
ComponentInfo - - shared library infoRegistryException - on errorsvoid addSharedLibrary(String targetName, ComponentInfo sharedLibraryInfo) throws RegistryException
targetName - - {'domain', 'server', "instance-name", "cluster-name"}ComponentInfo - - shared library infoRegistryException - on errorsvoid removeSharedLibrary(String sharedLibraryName) throws RegistryException
sharedLibraryName - - shared library nameRegistryException - on errorsvoid removeSharedLibrary(String targetName, String sharedLibraryName) throws RegistryException
targetName - - {'domain', 'server', "instance-name", "cluster-name"}sharedLibraryName - - shared library nameRegistryException - on errorsvoid addServiceAssembly(String saName) throws RegistryException
saName - - service assembly nameRegistryException - on errorsvoid addServiceAssembly(String targetName, String saName) throws RegistryException
targetName - - {'domain', 'server', "instance-name", "cluster-name"}saName - - service assembly nameRegistryException - on errorsvoid removeServiceAssembly(String serviceAssemblyName) throws RegistryException
serviceAssemblyName - - service assembly nameRegistryException - on errorsvoid removeServiceAssembly(String targetName, String serviceAssemblyName) throws RegistryException
serviceAssemblyName - - service assembly nametargetName - - {'domain', 'server', "instance-name", "cluster-name"}RegistryException - on errorsvoid addServer(String serverNameRef) throws RegistryException
serverNameRef - - server name to be addedRegistryExceptionvoid removeServer(String serverNameRef) throws RegistryException
serverNameRef - - server name to be removedRegistryExceptionvoid addCluster(String clusterNameRef) throws RegistryException
clusterNameRef - - cluster name to be addedRegistryExceptionvoid removeCluster(String clusterNameRef) throws RegistryException
clusterNameRef - - cluster name to be removedRegistryExceptionvoid addSharedLibrary(String slName, String fileName, Calendar timestamp) throws RegistryException
slName - - name of the shared libraryfileName - - component file nameRegistryExceptionvoid addComponent(String componentName, String fileName, Calendar timestamp) throws RegistryException
componentName - - name of the componentfileName - - component file nameRegistryExceptionvoid addServiceAssembly(String saName, String fileName, Calendar timestamp) throws RegistryException
saName - - service assembly namefileName - - service assembly archive nameRegistryException - on errorsvoid setComponentState(ComponentState state, String componentName) throws RegistryException
componentName - - component namestate - - the state to set.RegistryException - on errorsvoid setComponentState(String targetName, ComponentState state, String componentName) throws RegistryException
targetName - - either the server-name or cluster-namecomponentName - - component namestate - - the state to set.RegistryException - on errorsvoid setComponentProperties(String targetName, Map<String,String> state, String componentName) throws RegistryException
targetName - - either the server-name or cluster-name, this operation is
a no-op when target = domain.componentName - - component nameprops - - the properties to set.RegistryException - on errorsvoid setServiceUnitState(ServiceUnitState state, String componentName, String suName) throws RegistryException
componentName - - component namesuName - - service unit namestate - - the state to set.RegistryException - on errorsvoid setServiceUnitState(String targetName, ServiceUnitState state, String componentName, String suName) throws RegistryException
targetName - - either the value 'domain', 'server' or the
server-name or cluster-name.componentName - - component namesuName - - service unit namestate - - the state to set.RegistryException - on errorsvoid setServiceAssemblyState(ServiceAssemblyState state, String saName) throws RegistryException
state - - the state to set.saName - - the service assembly nameRegistryException - on errorsvoid setServiceAssemblyState(String targetName, ServiceAssemblyState state, String saName) throws RegistryException
targetName - - either the value 'domain', 'server' or the
server-name or cluster-name.saName - - service assembly namestate - - the state to set.RegistryException - on errorsvoid addServiceUnitToComponent(String componentName, ServiceUnitInfo suInfo) throws RegistryException
suInfo - - ServiceUnitInfocomponentName - - component nameRegistryException - on errorsvoid addServiceUnitToComponent(String targetName, String componentName, ServiceUnitInfo suInfo) throws RegistryException
suInfo - - ServiceUnitInfotargetName - - either the value 'domain', 'server' or the
server-name or cluster-name.componentName - - component nameRegistryException - on errorsvoid removeServiceUnitFromComponent(String componentName, String suName) throws RegistryException
suName - - ServiceUnitInfo namecomponentName - - component nameRegistryException - on errorsvoid removeServiceUnitFromComponent(String targetName, String componentName, String suName) throws RegistryException
suName - - ServiceUnitInfo nametargetName - - the server-name or cluster-name.componentName - - component nameRegistryException - on errorsvoid setComponentFileName(String fileName, String componentName) throws RegistryException
fileName - - name of the component archivecomponentName - - component nameRegistryExceptionvoid setSharedLibraryFileName(String fileName, String slName) throws RegistryException
fileName - - name of the shared library archiveslName - - shared library nameRegistryExceptionvoid setServiceAssemblyFileName(String fileName, String saName) throws RegistryException
fileName - - name of the service assembly archivesaName - - service assembly nameRegistryExceptionvoid setAttribute(ConfigurationCategory type, String name, String value) throws RegistryException
type - - configuration categoryname - - identification for the attributevalue - - string representation of the attribute valueRegistryException - on errors in getting the attribute valuevoid setAttribute(String targetName, ConfigurationCategory type, String name, String value) throws RegistryException
targetName - - target instance/cluster name.type - - configuration categoryname - - identification for the attributevalue - - string representation of the attribute valueRegistryException - on errors in getting the attribute valuevoid deleteAttribute(ConfigurationCategory type, String name) throws RegistryException
type - - configuration categoryname - - identification for the attributeRegistryException - on errors in getting the attribute valuevoid deleteAttribute(String targetName, ConfigurationCategory type, String name) throws RegistryException
targetName - - target instance/cluster name.type - - configuration categoryname - - identification for the attributeRegistryException - on errors in getting the attribute valuevoid setComponentUpgradeNumber(String componentName, BigInteger upgradeNumber) throws RegistryException
componentName - the component nameupgradeNumber - the upgrade numberRegistryException - if the upgrade number could not be setvoid setComponentAttribute(String componentName, String name, String value) throws RegistryException
name - - identification for the attributevalue - - string representation of the attribute valuecomponentName - - identification for the componentRegistryException - on errors in setting the attribute valuevoid setComponentAttribute(String componentName, String targetName, String name, String value) throws RegistryException
targetName - - target instance/cluster name.name - - identification for the attributevalue - - string representation of the attribute valuecomponentName - - identification for the componentRegistryException - on errors in setting the attribute valuevoid setComponentAttributes(String componentName, Properties props) throws RegistryException
props - - properties to setcomponentName - - identification for the componentRegistryException - on errors in setting the attribute valuevoid setComponentAttributes(String componentName, String targetName, Properties props) throws RegistryException
targetName - - target instance/cluster name.props - - properties to setcomponentName - - identification for the componentRegistryException - on errors in setting the attribute valuevoid addComponentApplicationVariables(String componentName, ComponentInfo.Variable[] appVars) throws RegistryException
appVars - - list of application variables to be added to the registryRegistryException - on errors in adding the application variables.void addComponentApplicationVariables(String componentName, String targetName, ComponentInfo.Variable[] appVars) throws RegistryException
appVars - - list of application variables to be added to the registrytargetName - - target to be updatedRegistryException - on errors in adding the application variables.void updateComponentApplicationVariables(String componentName, ComponentInfo.Variable[] appVars) throws RegistryException
appVars - - list of application variables to be updatedRegistryException - on errors in updating the application variables.void updateComponentApplicationVariables(String componentName, String targetName, ComponentInfo.Variable[] appVars) throws RegistryException
appVars - - list of application variables to be updatedtargetName - - target to be updatedRegistryException - on errors in updating the application variables.void deleteComponentApplicationVariables(String componentName, String[] names) throws RegistryException
appVars - - list of application variables to be deleted from the registrynames - - the names of the variables to be deleted.RegistryException - on errors in deleting the application variables.void deleteComponentApplicationVariables(String componentName, String targetName, String[] names) throws RegistryException
appVars - - list of application variables to be deleted from the registrytargetName - - target to be updatednames - - the names of the variables to be deleted.RegistryException - on errors in deleting the application variables.void addComponentApplicationConfiguration(String componentName, Properties appConfig) throws RegistryException
componentName - component identificationappConfig - named application configuration represented as propertiesRegistryException - on errors in adding the application configuration.void addComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) throws RegistryException
componentName - component identificationappConfig - named application configuration represented as propertiestargetName - target nameRegistryException - on errors in adding the application configuration.void updateComponentApplicationConfiguration(String componentName, Properties appConfig) throws RegistryException
componentName - component identificationappConfig - named application configuration represented as propertiesRegistryException - on errors in updating the application configuration.void updateComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) throws RegistryException
componentName - component identificationappConfig - named application configuration represented as propertiestargetName - target nameRegistryException - on errors in updating the application configuration.void deleteComponentApplicationConfiguration(String componentName, String appConfigName) throws RegistryException
appConfigName - name of the application configuration to delete.componentName - component identificationRegistryException - on errors in deleting the application configuration.void deleteComponentApplicationConfiguration(String componentName, String targetName, String appConfigName) throws RegistryException
componentName - component identificationtargetName - target nameappConfigName - the name of the configuration to be deleted.RegistryException - on errors in deleting the application configuration.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.