|
||||||||||
| 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.InstallationServiceClient
public final class InstallationServiceClient
Client API of the JMX installation service.
| Field Summary |
|---|
| Fields inherited from class org.ow2.petals.jmx.AbstractServiceClient |
|---|
JMX_FIELD_NAME, JMX_FIELD_TYPE, JMX_SERVICE_TYPE, mbeanName, mBeanServerConnection, petalsDomain |
| Constructor Summary | |
|---|---|
InstallationServiceClient(java.lang.String petalsDomain,
javax.management.MBeanServerConnection mBeanServerConnection)
Creates a new instance of InstallationServiceClient |
|
| Method Summary | |
|---|---|
boolean |
forceUnloadInstaller(java.lang.String componentName)
Force unload of installer. |
java.lang.String[] |
getInstalledComponentsForSharedlibrary(java.lang.String sharedLibraryName)
Get the components that use a shared library. |
java.lang.String[] |
getInstalledSharedLibraries()
Get all installed shared libraries. |
java.lang.String[] |
getInstallers()
Get all existing installers. |
java.lang.String |
installSharedLibrary(java.net.URL sharedLibraryURL)
Install a shared-library. |
InstallerComponentClient |
loadInstaller(java.lang.String componentName)
Load an installer. |
InstallerComponentClient |
loadNewInstaller(java.net.URL packageURL)
Load a new installer. |
java.lang.String[] |
shutdownAllComponents()
Shutdown all the component. |
boolean |
shutdownComponent(java.lang.String componentName)
Shutdown the component. |
java.lang.String[] |
startAllComponents()
Start all the component. |
boolean |
startComponent(java.lang.String componentName)
Start the component. |
java.lang.String[] |
stopAllComponents()
Stop all the component. |
boolean |
stopComponent(java.lang.String componentName)
Stop the component. |
java.lang.String[] |
uninstallAllComponents()
Uninstall all the component. |
java.lang.String[] |
uninstallAllSharedLibrary()
Uninstall all shared-library. |
boolean |
uninstallSharedLibrary(java.lang.String sharedLibraryName)
Uninstall a Shared Library. |
java.lang.String[] |
unloadAllInstallers(boolean force)
Unload all the component installers. |
boolean |
unloadInstaller(java.lang.String componentName)
Unload a component installer. |
| 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 |
| Constructor Detail |
|---|
public InstallationServiceClient(java.lang.String petalsDomain,
javax.management.MBeanServerConnection mBeanServerConnection)
throws InstallationServiceDoesNotExistException,
InstallationServiceErrorException
InstallationServiceClient
petalsDomain - mBeanServerConnection -
InstallationServiceDoesNotExistException
InstallationServiceErrorException| Method Detail |
|---|
public boolean forceUnloadInstaller(java.lang.String componentName)
throws InstallationServiceErrorException
componentName -
InstallationServiceErrorExceptionInstallationServiceMBean#forceUnloadInstaller(String)
public java.lang.String[] getInstalledComponentsForSharedlibrary(java.lang.String sharedLibraryName)
throws InstallationServiceErrorException
PerformActionErrorException
InstallationServiceErrorException
public java.lang.String[] getInstalledSharedLibraries()
throws InstallationServiceErrorException
InstallationServiceErrorException
public java.lang.String[] getInstallers()
throws InstallationServiceErrorException
InstallationServiceErrorException
public java.lang.String installSharedLibrary(java.net.URL sharedLibraryURL)
throws InstallationServiceErrorException
InstallationServiceErrorExceptionInstallationServiceMBean.installSharedLibrary(String)
public InstallerComponentClient loadInstaller(java.lang.String componentName)
throws InstallerComponentDoesNotExistException,
InstallationServiceErrorException
packageURL -
InstallerComponentDoesNotExistException - No component installer identified by
componentName was loaded.
InstallationServiceErrorExceptionInstallationServiceMBean.loadInstaller(String)
public InstallerComponentClient loadNewInstaller(java.net.URL packageURL)
throws InstallationServiceErrorException
packageURL -
InstallationServiceErrorExceptionInstallationServiceMBean.loadNewInstaller(String)
public java.lang.String[] shutdownAllComponents()
throws InstallationServiceErrorException
InstallationServiceErrorException
public boolean shutdownComponent(java.lang.String componentName)
throws InstallationServiceErrorException
componentName -
true if the shut down was successful.
InstallationServiceErrorException
public java.lang.String[] startAllComponents()
throws InstallationServiceErrorException
InstallationServiceErrorException
public boolean startComponent(java.lang.String componentName)
throws InstallationServiceErrorException
componentName -
true if the start was successful.
InstallationServiceErrorException
public java.lang.String[] stopAllComponents()
throws InstallationServiceErrorException
InstallationServiceErrorException
public boolean stopComponent(java.lang.String componentName)
throws InstallationServiceErrorException
componentName -
true if the stop was successful.
InstallationServiceErrorException
public java.lang.String[] uninstallAllComponents()
throws InstallationServiceErrorException
InstallationServiceErrorException
public java.lang.String[] uninstallAllSharedLibrary()
throws InstallationServiceErrorException
InstallationServiceErrorException
public boolean uninstallSharedLibrary(java.lang.String sharedLibraryName)
throws InstallationServiceErrorException
InstallationServiceErrorExceptionInstallationServiceMBean.uninstallSharedLibrary(String)
public java.lang.String[] unloadAllInstallers(boolean force)
throws InstallationServiceErrorException
InstallationServiceErrorException
public boolean unloadInstaller(java.lang.String componentName)
throws InstallationServiceErrorException
componentName -
InstallationServiceErrorExceptionInstallationServiceMBean.unloadInstaller(String, boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||