javax.jbi.management
インタフェース InstallerMBean


public interface InstallerMBean

The InstallerMBean defines standard installation and uninstallation controls for components. InstallerMBeans are created by the InstallationServiceMBean. The InstallerMBean offers controls to allow an administrative tool to:

作成者:
JSR208 Expert Group

メソッドの概要
 javax.management.ObjectName getInstallerConfigurationMBean()
          Get the installer configuration MBean name for this component.
 java.lang.String getInstallRoot()
          Get the installation root directory path for this component.
 javax.management.ObjectName install()
          Install a component.
 boolean isInstalled()
          Determine whether or not the component is installed.
 void uninstall()
          Uninstall the component.
 

メソッドの詳細

getInstallerConfigurationMBean

javax.management.ObjectName getInstallerConfigurationMBean()
                                                           throws JBIException
Get the installer configuration MBean name for this component.

戻り値:
the MBean object name of the Installer Configuration MBean; null if none is provided by this component
例外:
JBIException - if the component is not in the appropriate state (after install() but before life cycle initialization), or if any error occurs during processing

getInstallRoot

java.lang.String getInstallRoot()
Get the installation root directory path for this component.

戻り値:
the full installation path of this component; this must be in absolute path name form, in platform-specific format; must be non-null and non-empty

install

javax.management.ObjectName install()
                                    throws JBIException
Install a component.

Note that the implementation must leave the component in its installed, shutdown state. Automatic starting of components during installation by implementations is not allowed.

戻り値:
JMX ObjectName representing the LifeCycleMBean for the installed component, or null if the installation did not complete
例外:
JBIException - if the installation fails

isInstalled

boolean isInstalled()
Determine whether or not the component is installed.

戻り値:
true if this component is currently installed, otherwise false

uninstall

void uninstall()
               throws JBIException
Uninstall the component. This completely removes the component from the JBI system.

例外:
JBIException - if the uninstallation fails


Copyright (C) 1998 - 2012 NEC Corporation. All rights reserved.