| java.lang.Object com.sun.jbi.framework.ComponentInstaller
ComponentInstaller | public class ComponentInstaller implements InstallerMBean(Code) | | This class implements the InstallerMBean for a Component (BC or SE).
This MBean acts as an agent between the JMX management service and the
Component Framework to allow the Installer Service to control the
installation of the component.
author: Sun Microsystems, Inc. |
ComponentInstaller | ComponentInstaller(InstallationContext installContext, ComponentFramework componentFramework, ComponentRegistry componentRegistry)(Code) | | Constructor.
Parameters: installContext - - the installation context for this component. Parameters: componentFramework - - the ComponentFramework handle. Parameters: componentRegistry - - the ComponentRegistry handle. |
getInstallRoot | public String getInstallRoot()(Code) | | Get the installation root directory path for this component.
the full installation path of this component. |
getInstallerConfigurationMBean | public ObjectName getInstallerConfigurationMBean() throws javax.jbi.JBIException(Code) | | Get the installer configuration MBean name for this component.
the MBean object name of the Installer Configuration MBean. throws: javax.jbi.JBIException - if the component is not in the LOADEDstate or any error occurs during processing. |
isInstalled | public boolean isInstalled()(Code) | | Determine whether or not this component is installed.
true if this component is currently installed, false if not. |
uninstall | public void uninstall(boolean force) throws javax.jbi.JBIException(Code) | | Uninstall this component. This completely removes the component from the
JBI system. If the force flag is set to true ,
the uninstall proceeds regardless of any exception thrown by the
component.
Parameters: force - set to true to uninstall even if errors occur. throws: javax.jbi.JBIException - if the uninstallation fails. |
|
|