| java.lang.Object com.sun.jbi.management.registry.xml.UpdaterImpl
Method Summary | |
public void | addCluster(String clusterNameRef) | public void | addComponent(ComponentInfo componentInfo) | public void | addComponent(String componentName, String fileName, Calendar timestamp) | public void | addComponent(String targetName, ComponentInfo componentInfo) Add a component to a given target. | public void | addComponentApplicationConfiguration(String componentName, Properties appConfig) Add a named application configuration to the registry for the component for the
implicit runtime target. | public void | addComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) Add a named application configuration to the registry for the component for the
specified runtime target. | public void | addComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) Add a set of application variables to the registry for the runtime target. | public void | addComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) Add a set of application variables to the registry for the specified target. | public void | addServer(String serverNameRef) | public void | addServiceAssembly(String saName) | public void | addServiceAssembly(String saName, String fileName, Calendar timestamp) Add a service assembly to the domain. | public void | addServiceAssembly(String targetName, String saName) Add a service assembly to a given target. | public void | addServiceUnitToComponent(String componentName, ServiceUnitInfo suInfo) | public void | addServiceUnitToComponent(String targetName, String componentName, ServiceUnitInfo suInfo) | public void | addSharedLibrary(ComponentInfo sharedLibraryInfo) | public void | addSharedLibrary(String slName, String fileName, Calendar timestamp) | public void | addSharedLibrary(String targetName, ComponentInfo sharedLibraryInfo) Add a shared library to a given target. | boolean | checkContainsProperty(List<PropertyType> propList, String name, String value) | public void | correctTimestamps() This method is used to correct timestamps on system components on the DAS if they
are not already set. | public void | deleteAttribute(ConfigurationCategory type, String name) Delete the named attribute from the category if it exists, for the implicit target
The attribute is deleted only if it is overriden for the target, if target is "domain"
the attribute is not deleted. | public void | deleteAttribute(String targetName, ConfigurationCategory type, String name) Delete the named attribute from the category if it exists. | public void | deleteComponentApplicationConfiguration(String componentName, String appConfigName) | public void | deleteComponentApplicationConfiguration(String componentName, String targetName, String appConfigName) | public void | deleteComponentApplicationVariables(String componentName, String[] names) Delete a set of application variables from the registry for the runtime target. | public void | deleteComponentApplicationVariables(String componentName, String targetName, String[] names) Add a set of application variables to the registry for the specified target. | public void | removeCluster(String clusterNameRef) | public void | removeComponent(String componentName) | public void | removeComponent(String targetName, String componentName) Remove a component from a given target. | public void | removeServer(String serverNameRef) | public void | removeServiceAssembly(String saName) | public void | removeServiceAssembly(String targetName, String saName) Remove a service assembly from a given target. | public void | removeServiceUnitFromComponent(String componentName, String suName) | public void | removeServiceUnitFromComponent(String targetName, String componentName, String suName) | public void | removeSharedLibrary(String sharedLibraryName) | public void | removeSharedLibrary(String targetName, String sharedLibraryName) Remove a shared library from a given target. | public void | setAttribute(ConfigurationCategory type, String name, String value) Set the value of a configuration attribute belonging to the
specified category, for the runtime target. | public 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. | public 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. | public void | setComponentAttribute(String componentName, String targetName, String name, String value) | public void | setComponentAttributes(String componentName, Properties props) Set the value of a configuration attribute for a component installed on a target
for the runtime target. | public void | setComponentAttributes(String componentName, String targetName, Properties props) | public void | setComponentFileName(String fileName, String componentName) Set the file name for the domain component. | public void | setComponentProperties(String targetName, Map<String, String> props, String componentName) Set the properties of a component in a server/cluster.
Parameters: targetName - - either the server-name or cluster-name, this operation is a no-op when target = domain. Parameters: componentName - - component name Parameters: props - - the properties to set. | public void | setComponentState(ComponentState state, String componentName) Set the state of a component for the target at runtime.
Parameters: componentName - - component name Parameters: state - - the state to set. | public void | setComponentState(String targetName, ComponentState state, String componentName) Set the state of a component in a server/cluster.
Parameters: targetName - - either the server-name or cluster-name Parameters: componentName - - component name Parameters: state - - the state to set. | public void | setComponentUpgradeNumber(String componentName, java.math.BigInteger upgradeNumber) | public void | setServiceAssemblyFileName(String fileName, String saName) | public void | setServiceAssemblyState(ServiceAssemblyState state, String saName) Set the state of a ServiceAssembly for the runtime target. | public void | setServiceAssemblyState(String targetName, ServiceAssemblyState state, String saName) Set the state of a ServiceAssembly in a server / cluster. | public void | setServiceUnitState(ServiceUnitState state, String componentName, String suName) Set the state of a ServiceUnit for the runtime target.
Parameters: componentName - - component name Parameters: suName - - service unit name Parameters: state - - the state to set. | public void | setServiceUnitState(String targetName, ServiceUnitState state, String componentName, String suName) Set the state of a ServiceUnit in a server / cluster.
Parameters: targetName - - either the value 'domain', 'server' or theserver-name or cluster-name. Parameters: componentName - - component name Parameters: suName - - service unit name Parameters: state - - the state to set. | public void | setSharedLibraryFileName(String fileName, String slName) Set the file name for the domain service assembly. | public void | updateComponentApplicationConfiguration(String componentName, Properties appConfig) Update a named application configuration set on a component
for the implicit runtime target. | public void | updateComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) Update a named application configuration set on a component
for the specified runtime target. | public void | updateComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) Update a set of application variables to the registry for the runtime target. | public void | updateComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) Updated a set of application variables to the registry for the specified target. |
addComponent | public void addComponent(String componentName, String fileName, Calendar timestamp) throws RegistryException(Code) | | Add a domain component
Parameters: componentName - - name of the component Parameters: fileName - - component file name |
addComponent | public void addComponent(String targetName, ComponentInfo componentInfo) throws RegistryException(Code) | | Add a component to a given target. If target = DOMAIN, then a simple component
entry is created with the component name. If the target = SERVER / CLUSTER
a component-ref is added.
Parameters: targetName - - {'domain', 'server', "instance-name", "cluster-name"}not considered when targetType = DOMAIN. Parameters: componentInfo - - component instance throws: RegistryException - on errors |
addComponentApplicationConfiguration | public void addComponentApplicationConfiguration(String componentName, Properties appConfig) throws RegistryException(Code) | | Add a named application configuration to the registry for the component for the
implicit runtime target.
Parameters: componentName - component identification Parameters: appConfig - named application configuration represented as properties exception: RegistryException - on errors in adding the application configuration. |
addComponentApplicationConfiguration | public void addComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) throws RegistryException(Code) | | Add a named application configuration to the registry for the component for the
specified runtime target.
Parameters: componentName - component identification Parameters: appConfig - named application configuration represented as properties Parameters: targetName - target name exception: RegistryException - on errors in adding the application configuration. |
addComponentApplicationVariables | public void addComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code) | | Add a set of application variables to the registry for the runtime target.
Parameters: appVars - - list of application variables to be added to the registry exception: RegistryException - on errors in adding the application variables. |
addComponentApplicationVariables | public void addComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code) | | Add a set of application variables to the registry for the specified target.
Parameters: appVars - - list of application variables to be added to the registry Parameters: targetName - - target to be updated exception: RegistryException - on errors in adding the application variables. |
addServiceAssembly | public void addServiceAssembly(String saName, String fileName, Calendar timestamp) throws RegistryException(Code) | | Add a service assembly to the domain.
Parameters: saName - - service assembly name Parameters: fileName - - service assembly archive name throws: RegistryException - on errors |
addServiceAssembly | public void addServiceAssembly(String targetName, String saName) throws RegistryException(Code) | | Add a service assembly to a given target. If target = DOMAIN, then a simple
entry is created with the assembly name. If the target = SERVER / CLUSTER
a service-assembly--ref is added.
Parameters: targetName - - {'domain', 'server', "instance-name", "cluster-name"} Parameters: saName - - service assembly name throws: RegistryException - on errors |
addServiceUnitToComponent | public void addServiceUnitToComponent(String componentName, ServiceUnitInfo suInfo) throws RegistryException(Code) | | Add a ServiceUnit to a Component for the runtime target
Parameters: suInfo - - ServiceUnitInfo Parameters: componentName - - component name throws: RegistryException - on errors |
addServiceUnitToComponent | public void addServiceUnitToComponent(String targetName, String componentName, ServiceUnitInfo suInfo) throws RegistryException(Code) | | Add a ServiceUnit to a Component
Parameters: suInfo - - ServiceUnitInfo Parameters: targetName - - either the value 'domain', 'server' or theserver-name or cluster-name. Parameters: componentName - - component name throws: RegistryException - on errors |
addSharedLibrary | public void addSharedLibrary(String slName, String fileName, Calendar timestamp) throws RegistryException(Code) | | Add a domain shared library
Parameters: slName - - name of the shared library Parameters: fileName - - component file name |
addSharedLibrary | public void addSharedLibrary(String targetName, ComponentInfo sharedLibraryInfo) throws RegistryException(Code) | | Add a shared library to a given target. If target = DOMAIN, then a simple
entry is created with the library name. If the target = SERVER / CLUSTER
a shared-library-ref is added.
Parameters: targetName - - {'domain', 'server', "instance-name", "cluster-name"} Parameters: ComponentInfo - - shared library info throws: RegistryException - on errors |
checkContainsProperty | boolean checkContainsProperty(List<PropertyType> propList, String name, String value)(Code) | | true if the PropertyList contains a given property name value pair. |
correctTimestamps | public void correctTimestamps() throws RegistryException(Code) | | This method is used to correct timestamps on system components on the DAS if they
are not already set. Typically this only happens the first time an installation
starts after install or upgrade.
|
deleteAttribute | public void deleteAttribute(ConfigurationCategory type, String name) throws RegistryException(Code) | | Delete the named attribute from the category if it exists, for the implicit target
The attribute is deleted only if it is overriden for the target, if target is "domain"
the attribute is not deleted.
Parameters: type - - configuration category Parameters: name - - identification for the attribute exception: RegistryException - on errors in getting the attribute value |
deleteAttribute | public void deleteAttribute(String targetName, ConfigurationCategory type, String name) throws RegistryException(Code) | | Delete the named attribute from the category if it exists.
The attribute is deleted only if it is overriden for the target, if target is "domain"
the attribute is not deleted.
Parameters: targetName - - target instance/cluster name. Parameters: type - - configuration category Parameters: name - - identification for the attribute exception: RegistryException - on errors in getting the attribute value |
deleteComponentApplicationConfiguration | public void deleteComponentApplicationConfiguration(String componentName, String appConfigName) throws RegistryException(Code) | | Delete a named application configuration
Parameters: appConfigName - name of the application configuration to delete. Parameters: componentName - component identification exception: RegistryException - on errors in deleting the application configuration. |
deleteComponentApplicationConfiguration | public void deleteComponentApplicationConfiguration(String componentName, String targetName, String appConfigName) throws RegistryException(Code) | | Delete a named application configuration
Parameters: componentName - component identification Parameters: targetName - target name Parameters: appConfigName - the name of the configuration to be deleted. exception: RegistryException - on errors in deleting the application configuration. |
deleteComponentApplicationVariables | public void deleteComponentApplicationVariables(String componentName, String[] names) throws RegistryException(Code) | | Delete a set of application variables from the registry for the runtime target.
Parameters: appVars - - list of application variables to be deleted from the registry Parameters: names - - the names of the variables to be deleted. exception: RegistryException - on errors in deleting the application variables. |
deleteComponentApplicationVariables | public void deleteComponentApplicationVariables(String componentName, String targetName, String[] names) throws RegistryException(Code) | | Add a set of application variables to the registry for the specified target.
Parameters: appVars - - list of application variables to be deleted from the registry Parameters: targetName - - target to be updated Parameters: names - - the names of the variables to be deleted. exception: RegistryException - on errors in deleting the application variables. |
removeCluster | public void removeCluster(String clusterNameRef) throws RegistryException(Code) | | Parameters: clusterNameRef - - cluster name to be removed |
removeComponent | public void removeComponent(String targetName, String componentName) throws RegistryException(Code) | | Remove a component from a given target.
Parameters: targetName - - {'domain', 'server', "instance-name", "cluster-name"} Parameters: componentName - - component name throws: RegistryException - on errors |
removeServiceAssembly | public void removeServiceAssembly(String saName) throws RegistryException(Code) | | Remove a service assembly from the runtime target
Parameters: saName - - service assembly name throws: RegistryException - on errors |
removeServiceAssembly | public void removeServiceAssembly(String targetName, String saName) throws RegistryException(Code) | | Remove a service assembly from a given target.
Parameters: targetName - - {'domain', 'server', "instance-name", "cluster-name"} Parameters: saName - - service assembly name throws: RegistryException - on errors |
removeServiceUnitFromComponent | public void removeServiceUnitFromComponent(String componentName, String suName) throws RegistryException(Code) | | Remove a ServiceUnit from a Component for the runtime target
Parameters: suName - - ServiceUnitInfo name Parameters: componentName - - component name throws: RegistryException - on errors |
removeServiceUnitFromComponent | public void removeServiceUnitFromComponent(String targetName, String componentName, String suName) throws RegistryException(Code) | | Remove a ServiceUnit from a Component
Parameters: suName - - ServiceUnitInfo name Parameters: targetName - - the server-name or cluster-name. Parameters: componentName - - component name throws: RegistryException - on errors |
removeSharedLibrary | public void removeSharedLibrary(String sharedLibraryName) throws RegistryException(Code) | | Remove a shared library from the runtimes target
Parameters: sharedLibraryName - - shared library name throws: RegistryException - on errors |
removeSharedLibrary | public void removeSharedLibrary(String targetName, String sharedLibraryName) throws RegistryException(Code) | | Remove a shared library from a given target.
Parameters: targetName - - {'domain', 'server', "instance-name", "cluster-name"} Parameters: sharedLibraryName - - shared library name throws: RegistryException - on errors |
setAttribute | public void setAttribute(ConfigurationCategory type, String name, String value) throws RegistryException(Code) | | Set the value of a configuration attribute belonging to the
specified category, for the runtime target.
Parameters: type - - configuration category Parameters: name - - identification for the attribute Parameters: value - - string representation of the attribute value exception: RegistryException - on errors in getting the attribute value |
setAttribute | public void setAttribute(String targetName, ConfigurationCategory type, String name, String value) throws RegistryException(Code) | | Get the value of a configuration attribute belonging to the
specified category, for the runtime target.
Parameters: targetName - - target instance/cluster name. Parameters: type - - configuration category Parameters: name - - identification for the attribute Parameters: value - - string representation of the attribute value exception: RegistryException - on errors in getting the attribute value |
setComponentAttribute | public void setComponentAttribute(String componentName, String name, String value) throws RegistryException(Code) | | Set the value of a configuration attribute for a component installed on a target
for the runtime target.
Parameters: name - - identification for the attribute Parameters: value - - string representation of the attribute value Parameters: componentName - - identification for the component exception: RegistryException - on errors in getting the attribute value |
setComponentAttribute | public void setComponentAttribute(String componentName, String targetName, String name, String value) throws RegistryException(Code) | | Set the value of a configuration attribute for a component installed on a target,
Parameters: targetName - - target instance/cluster name. Parameters: name - - identification for the attribute Parameters: value - - string representation of the attribute value Parameters: componentName - - identification for the component exception: RegistryException - on errors in getting the attribute value |
setComponentAttributes | public void setComponentAttributes(String componentName, Properties props) throws RegistryException(Code) | | Set the value of a configuration attribute for a component installed on a target
for the runtime target.
Parameters: name - - identification for the attribute Parameters: value - - string representation of the attribute value Parameters: componentName - - identification for the component exception: RegistryException - on errors in getting the attribute value |
setComponentAttributes | public void setComponentAttributes(String componentName, String targetName, Properties props) throws RegistryException(Code) | | Set the value of a configuration attribute for a component installed on a target,
Parameters: targetName - - target instance/cluster name. Parameters: properties - - the properties to set Parameters: componentName - - identification for the component exception: RegistryException - on errors in getting the attribute value |
setComponentProperties | public void setComponentProperties(String targetName, Map<String, String> props, String componentName) throws RegistryException(Code) | | Set the properties of a component in a server/cluster.
Parameters: targetName - - either the server-name or cluster-name, this operation is a no-op when target = domain. Parameters: componentName - - component name Parameters: props - - the properties to set. throws: RegistryException - on errors |
setComponentState | public void setComponentState(String targetName, ComponentState state, String componentName) throws RegistryException(Code) | | Set the state of a component in a server/cluster.
Parameters: targetName - - either the server-name or cluster-name Parameters: componentName - - component name Parameters: state - - the state to set. throws: RegistryException - on errors |
setComponentUpgradeNumber | public void setComponentUpgradeNumber(String componentName, java.math.BigInteger upgradeNumber) throws RegistryException(Code) | | This method is used to set the upgrade-number attribute in the domain
level entry for a component
Parameters: componentName - the component name Parameters: upgradeNumber - the update number throws: RegistryException - if the update number could not be set |
setServiceAssemblyFileName | public void setServiceAssemblyFileName(String fileName, String saName) throws RegistryException(Code) | | Set the file name for the domain service assembly
|
setServiceAssemblyState | public void setServiceAssemblyState(String targetName, ServiceAssemblyState state, String saName) throws RegistryException(Code) | | Set the state of a ServiceAssembly in a server / cluster.
Parameters: targetName - - either the value 'domain', 'server' or theserver-name or cluster-name. Parameters: saName - - service assembly name Parameters: state - - the state to set. throws: RegistryException - on errors |
setServiceUnitState | public void setServiceUnitState(ServiceUnitState state, String componentName, String suName) throws RegistryException(Code) | | Set the state of a ServiceUnit for the runtime target.
Parameters: componentName - - component name Parameters: suName - - service unit name Parameters: state - - the state to set. throws: RegistryException - on errors |
setServiceUnitState | public void setServiceUnitState(String targetName, ServiceUnitState state, String componentName, String suName) throws RegistryException(Code) | | Set the state of a ServiceUnit in a server / cluster.
Parameters: targetName - - either the value 'domain', 'server' or theserver-name or cluster-name. Parameters: componentName - - component name Parameters: suName - - service unit name Parameters: state - - the state to set. throws: RegistryException - on errors |
updateComponentApplicationConfiguration | public void updateComponentApplicationConfiguration(String componentName, Properties appConfig) throws RegistryException(Code) | | Update a named application configuration set on a component
for the implicit runtime target.
Parameters: componentName - component identification Parameters: appConfig - named application configuration represented as properties exception: RegistryException - on errors in updating the application configuration. |
updateComponentApplicationConfiguration | public void updateComponentApplicationConfiguration(String componentName, String targetName, Properties appConfig) throws RegistryException(Code) | | Update a named application configuration set on a component
for the specified runtime target.
Parameters: componentName - component identification Parameters: appConfig - named application configuration represented as properties Parameters: targetName - target name exception: RegistryException - on errors in updating the application configuration. |
updateComponentApplicationVariables | public void updateComponentApplicationVariables(String componentName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code) | | Update a set of application variables to the registry for the runtime target.
Parameters: appVars - - list of application variables to be updated exception: RegistryException - on errors in updating the application variables. |
updateComponentApplicationVariables | public void updateComponentApplicationVariables(String componentName, String targetName, com.sun.jbi.management.ComponentInfo.Variable[] appVars) throws RegistryException(Code) | | Updated a set of application variables to the registry for the specified target.
Parameters: appVars - - list of application variables to be updated Parameters: targetName - - target to be updated exception: RegistryException - on errors in updating the application variables. |
|
|