| com.sun.esb.management.api.installation.InstallationService
All known Subclasses: com.sun.esb.management.impl.installation.InstallationServiceMBeanImpl, com.sun.esb.management.impl.installation.InstallationServiceImpl,
InstallationService | public interface InstallationService (Code) | | Defines operations for common installation services.
author: graj |
Method Summary | |
public String | installComponent(String zipFilePath, Properties paramProps, String targetName) | public String | installComponent(String zipFilePath, String targetName) | public Map<String, String> | installComponent(String zipFilePath, Properties paramProps, String[] targetNames) | public Map<String, String> | installComponent(String zipFilePath, String[] targetNames) | public String | installComponentFromDomain(String componentName, Properties properties, String targetName) | public String | installComponentFromDomain(String componentName, String targetName) | public Map<String /* targetName */, String | installComponentFromDomain(String componentName, String[] targetNames) | public Map<String /* targetName */, String | installComponentFromDomain(String componentName, Properties properties, String[] targetNames) | public String | installSharedLibrary(String zipFilePath, String targetName) | public Map<String, String> | installSharedLibrary(String zipFilePath, String[] targetNames) | public String | installSharedLibraryFromDomain(String libraryName, String targetName) | public Map<String /* targetName */, String | installSharedLibraryFromDomain(String libraryName, String[] targetNames) | public String | uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) | public String | uninstallComponent(String componentName, boolean forceDelete, String targetName) | public String | uninstallComponent(String componentName, String targetName) | public Map<String, String> | uninstallComponent(String componentName, String[] targetNames) | public Map<String /* targetName */, String | uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) | public Map<String /* targetName */, String | uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | public String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) | public String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) | public String | uninstallSharedLibrary(String sharedLibraryName, String targetName) | public Map<String, String> | uninstallSharedLibrary(String sharedLibraryName, String[] targetNames) | public Map<String /* targetName */, String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) | public Map<String /* targetName */, String | uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) | public String | upgradeComponent(String componentName, String zipFilePath) upgrades component (service engine, binding component) Upgrades a
component in a way that actually involves the component. |
installComponent | public String installComponent(String zipFilePath, Properties paramProps, String targetName) throws ManagementRemoteException(Code) | | installs component (service engine, binding component)
Parameters: paramProps - Properties object contains name/value pair. Parameters: zipFilePath - archive file in a zip format Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
installComponent | public String installComponent(String zipFilePath, String targetName) throws ManagementRemoteException(Code) | | installs component (service engine, binding component)
Parameters: zipFilePath - archive file in a zip format Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
installComponent | public Map<String, String> installComponent(String zipFilePath, String[] targetNames) throws ManagementRemoteException(Code) | | installs component ( service engine, binding component)
Parameters: paramProps - Properties object contains name/value pair. Parameters: zipFilePath - archive file in a zip format Parameters: targetNames - name of the component as map of [targetName,string]. throws: ManagementRemoteException - on error |
installComponentFromDomain | public String installComponentFromDomain(String componentName, Properties properties, String targetName) throws ManagementRemoteException(Code) | | installs component (service engine, binding component) from the domain
target
Parameters: componentName - name of the component. Parameters: component - configuration properties Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
installComponentFromDomain | public String installComponentFromDomain(String componentName, String targetName) throws ManagementRemoteException(Code) | | installs component (service engine, binding component) from the domain
target
Parameters: componentName - name of the component. Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
installComponentFromDomain | public Map<String /* targetName */, String installComponentFromDomain(String componentName, String[] targetNames) throws ManagementRemoteException(Code) | | installs component from Domain( service engine, binding component)
Parameters: componentName - name of the component Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
installComponentFromDomain | public Map<String /* targetName */, String installComponentFromDomain(String componentName, Properties properties, String[] targetNames) throws ManagementRemoteException(Code) | | installs component from Domain( service engine, binding component)
Parameters: componentName - name of the component Parameters: properties - configuration properties Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
installSharedLibraryFromDomain | public String installSharedLibraryFromDomain(String libraryName, String targetName) throws ManagementRemoteException(Code) | | installs shared library from domain target
Parameters: libraryName - Shared Library Name Parameters: targetName - name of the target for this operation shared library name string. throws: ManagementRemoteException - on error |
uninstallComponent | public String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code) | | uninstalls component (service engine, binding component) with option to
retain in domain target and option to forcibly remove from specified
target
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
uninstallComponent | public String uninstallComponent(String componentName, boolean forceDelete, String targetName) throws ManagementRemoteException(Code) | | uninstalls component (service engine, binding component) with forcibly
remove option
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
uninstallComponent | public String uninstallComponent(String componentName, String targetName) throws ManagementRemoteException(Code) | | uninstalls component (service engine, binding component)
Parameters: componentName - name of the component Parameters: targetName - name of the target for this operation The name of the component if successful throws: ManagementRemoteException - on error |
uninstallComponent | public Map<String /* targetName */, String uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
uninstallComponent | public Map<String /* targetName */, String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls component ( service engine, binding component)
Parameters: componentName - name of the component Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and component name strings. throws: ManagementRemoteException - on error |
uninstallSharedLibrary | public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException(Code) | | uninstalls shared library with option to retain in domain target and
option to forcibly remove from specified target
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetName - name of the target for this operation shared library name string. throws: ManagementRemoteException - on error |
uninstallSharedLibrary | public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) throws ManagementRemoteException(Code) | | uninstalls shared library with option to forcibly remove
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation shared library name string. throws: ManagementRemoteException - on error |
uninstallSharedLibrary | public Map<String /* targetName */, String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: targetName - name of the target for this operation Map of targetName and shared library name strings. throws: ManagementRemoteException - on error |
uninstallSharedLibrary | public Map<String /* targetName */, String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException(Code) | | uninstalls shared library
Parameters: sharedLibraryName - name of the shared library Parameters: forceDelete - true to delete, false to not Parameters: retainInDomain - true to not delete it from the domain target, false to alsodelete it from the domain target. Parameters: targetNames - array of targets for this operation Map of targetName and shared library name strings. throws: ManagementRemoteException - on error |
upgradeComponent | public String upgradeComponent(String componentName, String zipFilePath) throws ManagementRemoteException(Code) | | upgrades component (service engine, binding component) Upgrades a
component in a way that actually involves the component. During the
upgrade processing, the component's implementation of the new upgrade SPI
will be invoked to give the component the opportunity to perform any
special processing necessary to complete the upgrade. Components which do
not provide an implementation of the upgrade SPI can still be updated
using the updateComponent API.
Also, in the upgrade implementation, changes in the component's
installation descriptor will be allowed, with the exception of the
component name (for obvious reasons). This allows new shared library
dependencies, changes to the class names of the component's SPI
implementations, and changes to the component's class loading preferences
(class path and class loading order). These changes are allowed
regardless of whether or not the component provides an implementation of
the new upgrade SPI.
Parameters: componentName - Name of the component to update. Parameters: zipFilePath - archive file in a zip format The name of the component if successful throws: ManagementRemoteException - on error |
|
|