public class InstallationServiceImpl extends BaseServiceImpl implements Serializable, InstallationService
mLastUploadIdCANNED_RESPONSE, I18NBUNDLE, isRemoteConnection, remoteConnection| Constructor and Description |
|---|
InstallationServiceImpl()
Constructor - Constructs a new instance of InstallationServiceImpl
|
InstallationServiceImpl(MBeanServerConnection serverConnection)
Constructor - Constructs a new instance of InstallationServiceImpl
|
InstallationServiceImpl(MBeanServerConnection serverConnection,
boolean isRemoteConnection)
Constructor - Constructs a new instance of InstallationServiceImpl
|
| Modifier and Type | Method and Description |
|---|---|
String |
installComponent(String zipFilePath,
Properties paramProps,
String targetName)
installs component (service engine, binding component)
|
Map<String,String> |
installComponent(String zipFilePath,
Properties paramProps,
String[] targetNames)
installs component ( service engine, binding component)
|
String |
installComponent(String zipFilePath,
String targetName)
installs component (service engine, binding component)
|
Map<String,String> |
installComponent(String zipFilePath,
String[] targetNames)
installs shared library
|
String |
installComponentFromDomain(String componentName,
Properties properties,
String targetName)
installs component (service engine, binding component) from the domain
target
|
Map<String,String> |
installComponentFromDomain(String componentName,
Properties properties,
String[] targetNames)
installs component from Domain( service engine, binding component)
|
String |
installComponentFromDomain(String componentName,
String targetName)
installs component (service engine, binding component) from the domain
target
|
Map<String,String> |
installComponentFromDomain(String componentName,
String[] targetNames)
installs component from Domain( service engine, binding component)
|
String |
installSharedLibrary(String zipFilePath,
String targetName)
installs shared library
|
Map<String,String> |
installSharedLibrary(String zipFilePath,
String[] targetNames)
installs shared library
|
String |
installSharedLibraryFromDomain(String libraryName,
String targetName)
installs shared library from domain target
|
Map<String,String> |
installSharedLibraryFromDomain(String libraryName,
String[] targetNames)
installs shared library
|
static void |
main(String[] args) |
String |
uninstallComponent(String componentName,
boolean forceDelete,
boolean retainInDomain,
String targetName)
uninstalls component (service engine, binding component) with option to
retain in domain target and option to forcibly remove from specified
target
|
Map<String,String> |
uninstallComponent(String componentName,
boolean forceDelete,
boolean retainInDomain,
String[] targetNames)
uninstalls component ( service engine, binding component)
|
String |
uninstallComponent(String componentName,
boolean forceDelete,
String targetName)
uninstalls component (service engine, binding component) with forcibly
remove option
|
Map<String,String> |
uninstallComponent(String componentName,
boolean forceDelete,
String[] targetNames)
uninstalls component ( service engine, binding component)
|
String |
uninstallComponent(String componentName,
String targetName)
uninstalls component (service engine, binding component)
|
Map<String,String> |
uninstallComponent(String componentName,
String[] targetNames)
uninstalls component ( service engine, binding component)
|
String |
uninstallSharedLibrary(String sharedLibraryName,
boolean forceDelete,
boolean retainInDomain,
String targetName)
uninstalls shared library with option to retain in domain target and
option to forcibly remove from specified target
|
Map<String,String> |
uninstallSharedLibrary(String sharedLibraryName,
boolean forceDelete,
boolean retainInDomain,
String[] targetNames)
uninstalls shared library
|
String |
uninstallSharedLibrary(String sharedLibraryName,
boolean forceDelete,
String targetName)
uninstalls shared library with option to forcibly remove
|
Map<String,String> |
uninstallSharedLibrary(String sharedLibraryName,
boolean forceDelete,
String[] targetNames)
uninstalls shared library
|
String |
uninstallSharedLibrary(String sharedLibraryName,
String targetName)
uninstalls shared library
|
Map<String,String> |
uninstallSharedLibrary(String sharedLibraryName,
String[] targetNames)
uninstalls shared library
|
String |
upgradeComponent(String componentName,
String zipFilePath)
upgrades component (service engine, binding component) Upgrades a
component in a way that actually involves the component.
|
downloadFile, removeUploadedFile, uploadFilegetAdministrationServiceMBeanObjectName, getConfigurationServiceMBeanObjectName, getDeploymentServiceMBeanObjectName, getI18NBundle, getInstallationServiceMBeanObjectName, getMBeanServerConnection, getNotificationServiceMBeanObjectName, getPerformanceMeasurementServiceMBeanObjectName, getRuntimeManagementServiceMBeanObjectName, invokeMBeanOperation, invokeMBeanOperation, isRegistered, isRemoteConnection, listTargetNames, queryNamespublic InstallationServiceImpl()
public InstallationServiceImpl(MBeanServerConnection serverConnection)
serverConnection - public InstallationServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)
serverConnection - isRemoteConnection - public String installComponent(String zipFilePath, Properties paramProps, String targetName) throws ManagementRemoteException
installComponent in interface InstallationServiceparamProps - Properties object contains name/value pair.zipFilePath - archive file in a zip formattargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installComponent(java.lang.String, java.util.Properties, java.lang.String)public String installComponent(String zipFilePath, String targetName) throws ManagementRemoteException
installComponent in interface InstallationServicezipFilePath - archive file in a zip formattargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installComponent(java.lang.String, java.lang.String)public Map<String,String> installComponent(String zipFilePath, Properties paramProps, String[] targetNames) throws ManagementRemoteException
installComponent in interface InstallationServiceparamProps - Properties object contains name/value pair.zipFilePath - archive file in a zip formattargetNames - ManagementRemoteException - on error *InstallationService.installComponent(java.lang.String, java.util.Properties, java.lang.String[])public Map<String,String> installComponent(String zipFilePath, String[] targetNames) throws ManagementRemoteException
installComponent in interface InstallationServicezipFilePath - archive file in a zip formattargetNames - ManagementRemoteException - on errorInstallationService.installComponent(java.lang.String, java.lang.String[])public String installComponentFromDomain(String componentName, Properties properties, String targetName) throws ManagementRemoteException
installComponentFromDomain in interface InstallationServicecomponentName - name of the component.component - configuration propertiestargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installComponentFromDomain(java.lang.String, java.util.Properties, java.lang.String)public String installComponentFromDomain(String componentName, String targetName) throws ManagementRemoteException
installComponentFromDomain in interface InstallationServicecomponentName - name of the component.targetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installComponentFromDomain(java.lang.String, java.lang.String)public Map<String,String> installComponentFromDomain(String componentName, String[] targetNames) throws ManagementRemoteException
installComponentFromDomain in interface InstallationServicecomponentName - name of the componenttargetNames - array of targets for this operationManagementRemoteException - on errorInstallationService.installComponentFromDomain(java.lang.String, java.lang.String[])public Map<String,String> installComponentFromDomain(String componentName, Properties properties, String[] targetNames) throws ManagementRemoteException
installComponentFromDomain in interface InstallationServicecomponentName - name of the componentproperties - configuration propertiestargetNames - array of targets for this operationManagementRemoteException - on errorInstallationService.installComponentFromDomain(java.lang.String, java.util.Properties, java.lang.String[])public String installSharedLibrary(String zipFilePath, String targetName) throws ManagementRemoteException
installSharedLibrary in interface InstallationServicezipFilePath - archive file in a zip formattargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installSharedLibrary(java.lang.String, java.lang.String)public Map<String,String> installSharedLibrary(String zipFilePath, String[] targetNames) throws ManagementRemoteException
installSharedLibrary in interface InstallationServicezipFilePath - archive file in a zip formattargetNames - ManagementRemoteException - on errorInstallationService.installSharedLibrary(java.lang.String, java.lang.String[])public String installSharedLibraryFromDomain(String libraryName, String targetName) throws ManagementRemoteException
installSharedLibraryFromDomain in interface InstallationServicelibraryName - Shared Library NametargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installSharedLibraryFromDomain(java.lang.String, java.lang.String)public Map<String,String> installSharedLibraryFromDomain(String libraryName, String[] targetNames) throws ManagementRemoteException
installSharedLibraryFromDomain in interface InstallationServicelibraryName - name of the librarytargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.installSharedLibraryFromDomain(java.lang.String, java.lang.String[])public String uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException
uninstallComponent in interface InstallationServicecomponentName - name of the componentforceDelete - true to delete, false to notretainInDomain - true to not delete it from the domain target, false to also
delete it from the domain target.targetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallComponent(java.lang.String, boolean, boolean, java.lang.String)public String uninstallComponent(String componentName, boolean forceDelete, String targetName) throws ManagementRemoteException
uninstallComponent in interface InstallationServicecomponentName - name of the componentforceDelete - true to delete, false to nottargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallComponent(java.lang.String, boolean, java.lang.String)public String uninstallComponent(String componentName, String targetName) throws ManagementRemoteException
uninstallComponent in interface InstallationServicecomponentName - name of the componenttargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallComponent(java.lang.String, java.lang.String)public Map<String,String> uninstallComponent(String componentName, String[] targetNames) throws ManagementRemoteException
uninstallComponent in interface InstallationServicecomponentName - name of the componenttargetNames - ManagementRemoteException - on errorInstallationService.uninstallComponent(java.lang.String, java.lang.String[])public Map<String,String> uninstallComponent(String componentName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException
uninstallComponent in interface InstallationServicecomponentName - name of the componentforceDelete - true to delete, false to nottargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallComponent(java.lang.String, boolean, java.lang.String[])public Map<String,String> uninstallComponent(String componentName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException
uninstallComponent in interface InstallationServicecomponentName - name of the componentforceDelete - true to delete, false to notretainInDomain - true to not delete it from the domain target, false to also
delete it from the domain target.targetNames - array of targets for this operationManagementRemoteException - on errorInstallationService.uninstallComponent(java.lang.String, boolean, boolean, java.lang.String[])public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String targetName) throws ManagementRemoteException
uninstallSharedLibrary in interface InstallationServicesharedLibraryName - name of the shared libraryforceDelete - true to delete, false to notretainInDomain - true to not delete it from the domain target, false to also
delete it from the domain target.targetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallSharedLibrary(java.lang.String, boolean, boolean, java.lang.String)public String uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String targetName) throws ManagementRemoteException
uninstallSharedLibrary in interface InstallationServicesharedLibraryName - name of the shared libraryforceDelete - true to delete, false to nottargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallSharedLibrary(java.lang.String, boolean, java.lang.String)public String uninstallSharedLibrary(String sharedLibraryName, String targetName) throws ManagementRemoteException
uninstallSharedLibrary in interface InstallationServicesharedLibraryName - name of the shared librarytargetName - name of the target for this operationManagementRemoteException - on errorInstallationService.uninstallSharedLibrary(java.lang.String, java.lang.String)public Map<String,String> uninstallSharedLibrary(String sharedLibraryName, String[] targetNames) throws ManagementRemoteException
uninstallSharedLibrary in interface InstallationServicesharedLibraryName - name of the shared librarytargetNames - ManagementRemoteException - on errorInstallationService.uninstallSharedLibrary(java.lang.String, java.lang.String[])public Map<String,String> uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, String[] targetNames) throws ManagementRemoteException
uninstallSharedLibrary in interface InstallationServicesharedLibraryName - name of the shared libraryforceDelete - true to delete, false to nottargetNames - list of names of targets for this operationManagementRemoteException - on errorInstallationService.uninstallSharedLibrary(java.lang.String, boolean, java.lang.String[])public Map<String,String> uninstallSharedLibrary(String sharedLibraryName, boolean forceDelete, boolean retainInDomain, String[] targetNames) throws ManagementRemoteException
uninstallSharedLibrary in interface InstallationServicesharedLibraryName - name of the shared libraryforceDelete - true to delete, false to notretainInDomain - true to not delete it from the domain target, false to also
delete it from the domain target.targetNames - array of targets for this operationManagementRemoteException - on errorInstallationService.uninstallSharedLibrary(java.lang.String, boolean, boolean, java.lang.String[])public String upgradeComponent(String componentName, String zipFilePath) throws ManagementRemoteException
upgradeComponent in interface InstallationServicecomponentName - Name of the component to update.zipFilePath - archive file in a zip formatManagementRemoteException - on errorInstallationService.upgradeComponent(java.lang.String, java.lang.String)public static void main(String[] args)
args - Copyright © 2011-2016 OpenESB Community. All Rights Reserved.