| javax.jbi.management.InstallationServiceMBean
InstallationServiceMBean | public interface InstallationServiceMBean (Code) | | The installation service MBean allows administrative tools to manage
component and shared library installations. The tasks supported are:
- Installing (and uninstalling) a shared library
- Creating (loading) and destroying (unloading) a component installer
MBean.
- Finding an existing component installer MBean.
Installing and uninstalling components is accomplished using
InstallerMBean s, loaded by this MBean. An individual installer MBean
is needed for each component installation / uninstallation. This is to support
the more complex installation process that some components require.
author: JSR208 Expert Group |
installSharedLibrary | String installSharedLibrary(String slZipURL)(Code) | | Install a shared library installation package.
The return value is the unique name for the shared-library, as found
in the the value of the installation descriptor's
<identification><name> element.
Parameters: slZipURL - URL locating a zip file containing a shared libraryinstallation package; must be non-null, non-empty, and a legalURL the unique name of the shared library loaded from slZipURL; mustbe non-null and non-empty |
loadInstaller | ObjectName loadInstaller(String componentName)(Code) | | Load the InstallerMBean for a previously installed component.
The "component name" refers to the
<identification><name> element value from the
component's installation package (see
InstallationServiceMBean.loadNewInstaller(String) ).
Parameters: componentName - the component name identifying the installer to load; must be non-null and non-empty the JMX ObjectName of the InstallerMBean loaded from an existinginstallation context; null if the installer MBeandoesn't exist |
loadNewInstaller | ObjectName loadNewInstaller(String installZipURL)(Code) | | Load the installer for a new component for the given component
installation package.
Parameters: installZipURL - URL locating a ZIP file containing theJBI Installation package to be installed; must be non-null, non-empty, and a legal URL the JMX ObjectName of the InstallerMBean loaded frominstallZipURL; must be non-null |
uninstallSharedLibrary | boolean uninstallSharedLibrary(String slName)(Code) | | Uninstall a previously installed shared library.
Parameters: slName - the name of the shared name space to uninstall; must benon-null and non-empty true if the uninstall was successful |
unloadInstaller | boolean unloadInstaller(String componentName, boolean isToBeDeleted)(Code) | | Unload an InstallerMBean previously loaded for a component.
Parameters: componentName - the component name identifying the installer to unload; must be non-null and non-empty Parameters: isToBeDeleted - true if the component is to be deleted as well true if the operation was successful, otherwise false |
|
|