|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jmx.AbstractServiceClient
org.ow2.petals.jmx.InstallerComponentClient
public final class InstallerComponentClient
Client API of a JMX component associated to a JBI component installer.
| Field Summary | |
|---|---|
protected static java.lang.String |
GET_INSTALL_ROOT
Action : getInstallRoot |
protected static java.lang.String |
GET_INSTALLER_CONFIGURATION_MBEAN
Action : getInstallerConfigurationMBean |
protected static java.lang.String |
INIT
Action : init |
protected static java.lang.String |
INSTALL
Action : install |
protected static java.lang.String |
IS_INSTALLED
Action : isInstalled |
protected static java.lang.String |
UNINSTALL
Action : uninstall |
| Fields inherited from class org.ow2.petals.jmx.AbstractServiceClient |
|---|
JMX_FIELD_NAME, JMX_FIELD_TYPE, JMX_SERVICE_TYPE, mbeanName, mBeanServerConnection, petalsDomain |
| Constructor Summary | |
|---|---|
InstallerComponentClient(java.lang.String petalsDomain,
javax.management.ObjectName objectName,
javax.management.MBeanServerConnection mBeanServerConnection)
Creates a new instance of InstallerComponentClient from its
MBean |
|
InstallerComponentClient(java.lang.String petalsDomain,
java.lang.String componentName,
javax.management.MBeanServerConnection mBeanServerConnection)
Creates a new instance of InstallerComponentClient finding
the MBean associated to the component name |
|
| Method Summary | |
|---|---|
ConfigurationInstallerComponentClient |
getConfigurationInstallerClient()
|
java.lang.String |
getInstallRoot()
Get the root path to the component installation. |
javax.management.ObjectName |
getMBeanName()
Get the MBean name of this installer. |
void |
install()
Install the component. |
boolean |
isInstalled()
Get the current installation state of the JBI component |
void |
uninstall()
Uninstall the component. |
| Methods inherited from class org.ow2.petals.jmx.AbstractServiceClient |
|---|
getAttribute, getAttribute, performAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String INIT
protected static final java.lang.String INSTALL
protected static final java.lang.String UNINSTALL
protected static final java.lang.String IS_INSTALLED
protected static final java.lang.String GET_INSTALL_ROOT
protected static final java.lang.String GET_INSTALLER_CONFIGURATION_MBEAN
| Constructor Detail |
|---|
public InstallerComponentClient(java.lang.String petalsDomain,
java.lang.String componentName,
javax.management.MBeanServerConnection mBeanServerConnection)
throws InstallerComponentDoesNotExistException,
ComponentErrorException
InstallerComponentClient finding
the MBean associated to the component name
InstallerComponentDoesNotExistException
ComponentErrorException
public InstallerComponentClient(java.lang.String petalsDomain,
javax.management.ObjectName objectName,
javax.management.MBeanServerConnection mBeanServerConnection)
InstallerComponentClient from its
MBean
| Method Detail |
|---|
public void install()
throws PerformActionErrorException
PerformActionErrorExceptionInstallerMBean.install()
public void uninstall()
throws PerformActionErrorException
PerformActionErrorExceptionInstallerMBean.uninstall()
public boolean isInstalled()
throws PerformActionErrorException
PerformActionErrorExceptionInstallerMBean.isInstalled()
public java.lang.String getInstallRoot()
throws PerformActionErrorException
PerformActionErrorExceptionInstallerMBean.getInstallRoot()public javax.management.ObjectName getMBeanName()
public ConfigurationInstallerComponentClient getConfigurationInstallerClient()
throws PerformActionErrorException
PerformActionErrorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||