|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.framework.InstallerMBeanImpl
public class InstallerMBeanImpl
InstallerMBean defines standard installation and uninstallation controls for Binding Components and Service Engines. Binding Components and Service Engines.
| Constructor Summary | |
|---|---|
InstallerMBeanImpl(JBIContainer container,
InstallationContextImpl ic)
Constructor for the InstallerMBean |
|
| Method Summary | |
|---|---|
ObjectName |
activateComponent()
|
protected void |
cleanUpBootstrap()
|
ObjectName |
getInstallerConfigurationMBean()
Get the installer configuration MBean name for this component. |
String |
getInstallRoot()
Get the installation root directory path for this BC or SE. |
ObjectName |
getObjectName()
|
ObjectName |
install()
Install a BC or SE. |
boolean |
isInstalled()
Determine whether or not the component is installed. |
void |
setObjectName(ObjectName objectName)
|
void |
uninstall()
Uninstall a BC or SE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstallerMBeanImpl(JBIContainer container,
InstallationContextImpl ic)
throws javax.jbi.management.DeploymentException
container - ic -
javax.jbi.management.DeploymentException| Method Detail |
|---|
protected void cleanUpBootstrap()
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentExceptionpublic String getInstallRoot()
getInstallRoot in interface javax.jbi.management.InstallerMBean
public ObjectName install()
throws javax.jbi.JBIException
install in interface javax.jbi.management.InstallerMBeanjavax.jbi.JBIException - if the installation fails.
public ObjectName activateComponent()
throws javax.jbi.JBIException
javax.jbi.JBIExceptionpublic boolean isInstalled()
isInstalled in interface javax.jbi.management.InstallerMBean
public void uninstall()
throws javax.jbi.JBIException
uninstall in interface javax.jbi.management.InstallerMBeanjavax.jbi.JBIException - if the uninstallation fails.
public ObjectName getInstallerConfigurationMBean()
throws javax.jbi.JBIException
getInstallerConfigurationMBean in interface javax.jbi.management.InstallerMBeanjavax.jbi.JBIException - if the component is not in the LOADED state or any error occurs during processing.public ObjectName getObjectName()
public void setObjectName(ObjectName objectName)
objectName - The objectName to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||