| com.sun.jbi.management.InstallationServiceMBean
All known Subclasses: com.sun.jbi.management.system.InstallationService,
InstallationServiceMBean | public interface InstallationServiceMBean extends javax.jbi.management.InstallationServiceMBean(Code) | | This InstallationServiceMBean extends the public InstallationService interface.
This has additional operations to :
- Install a component from the repository
- Install a shared library from the repository
- Allow forceful uninstall of shared libraries
author: Sun Microsystems, Inc. |
installSharedLibraryFromRepository | String installSharedLibraryFromRepository(String sharedLibraryName) throws javax.jbi.JBIException(Code) | | Install a shared library from the Repository. The library archive from the
repository is uploaded to the target instance(s) and installSharedLibrary() is
invoked on the remote instance InstallationService with the uploaded file name.
If the shared library is not there in the DAS repository an exception will
be thrown.
Parameters: sharedLibraryName - - name of the registered shared library. the shared library name exception: javax.jbi.JBIException - if the shared library is not registered oruninstall fails. |
loadInstallerFromRepository | ObjectName loadInstallerFromRepository(String componentName) throws javax.jbi.JBIException(Code) | | Load the installer for a component from the Repository. The component archive from
the repository is uploaded to the target instance(s), loadNewInstaller() in
invoked on the remote instance(s). The object name of the Installer MBean
is returned.
If the component is not there in the DAS repository a exception will
be thrown.
Parameters: componentName - - name of the registered component. the ObjectName of Installer MBean for the registered component exception: javax.jbi.JBIException - if the component is not registered. |
uninstallSharedLibrary | boolean uninstallSharedLibrary(String slName, boolean keep)(Code) | | Uninstall a previously installed shared library.
Parameters: slName - the name of the shared name space to uninstall; must benon-null and non-empty Parameters: keep - if true the shared libray is not deleted from the domain. If false, the shared library is deleted from the repository if after this uninstall it is not installed on any targets. true if the uninstall was successful |
upgradeComponent | String upgradeComponent(String componentName, String installZipURL) throws javax.jbi.JBIException(Code) | | Upgrade a component. This is used to perform an update of the runtime
files of a component without requiring undeployment of Service Assemblies
with Service Units deployed to the component.
Parameters: componentName - The name of the component. Parameters: installZipURL - The URL to the component archive. a status management message that contains component upgrade result throws: JBIException - if there is a problem with the upgrade. |
|
|