|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstallationServiceMBean
This custom interface add methods used by reinstallation tasks of the SystemStateService service.
Method Summary | |
---|---|
boolean |
forceUnloadInstaller(String compName)
Try to unload installer of a component. |
String[] |
getInstalledComponentsForSharedLibrary(String slName)
Get the list of components that use the shared library |
String[] |
getInstalledSharedLibraries()
Get the list of all installed shared libraries |
String[] |
getInstallers()
Get the list of all the existing installers |
String[] |
shutdownAllComponents()
Try to shutdown all components. |
String[] |
shutdownAllNoMoreUsedComponents()
Try to shutdown all no more used components (no service assembly is deployed having a service unit running on the component). |
boolean |
shutdownComponent(String componentName)
Shutdown the component. |
String[] |
startAllComponents()
Try to start all components. |
boolean |
startComponent(String componentName)
Start the component. |
String[] |
stopAllComponents()
Try to stop all components. |
boolean |
stopComponent(String componentName)
Stop the component. |
String[] |
uninstallAllComponents()
Try to uninstall all components. |
String[] |
uninstallAllNoMoreUsedComponents()
Try to uninstall all no more used components (no service assembly is deployed having a service unit running on the component). |
String[] |
uninstallAllNoMoreUsedSharedLibraries()
Try to uninstall all no more used shared libraries (no component is installed referencing the shared library). |
String[] |
uninstallAllSharedLibraries()
Try to uninstall all shared libraries. |
boolean |
uninstallComponent(String componentName)
Uninstall the component. |
boolean |
uninstallSharedLibrary(String slName,
String version)
Uninstall a previously installed shared library with the given version. |
String[] |
unloadAllInstallers(boolean force)
Try to uninstall all components. |
Methods inherited from interface javax.jbi.management.InstallationServiceMBean |
---|
installSharedLibrary, loadInstaller, loadNewInstaller, uninstallSharedLibrary, unloadInstaller |
Method Detail |
---|
boolean uninstallSharedLibrary(String slName, String version)
slName
- the name of the shared name space to uninstall; must be
non-null and non-emptyversion
- the Version of the shared name space to uninstall; must be
non-null and non-empty
boolean forceUnloadInstaller(String compName)
compName
- the component unique name
String[] getInstalledComponentsForSharedLibrary(String slName) throws Exception
slName
- the name of the shared library
Exception
- if the shared library is not installedString[] getInstalledSharedLibraries()
String[] getInstallers()
String[] shutdownAllComponents()
String[] shutdownAllNoMoreUsedComponents()
boolean shutdownComponent(String componentName) throws javax.jbi.JBIException
AbstractLifeCycle#SHUTDOWN
state.
componentName
- name of the component to be shutdown; must be non-null and
non-empty
true
if the component is correctly shut down
javax.jbi.JBIException
- if the component fails to shut downString[] startAllComponents()
boolean startComponent(String componentName) throws javax.jbi.JBIException
AbstractLifeCycle#STARTED
state.
componentName
- name of the component to be started; must be non-null and
non-empty
true
if the component is correctly started
javax.jbi.JBIException
- if the component fails to startString[] stopAllComponents()
boolean stopComponent(String componentName) throws javax.jbi.JBIException
AbstractLifeCycle#STOPPED
state.
componentName
- name of the component to be stopped; must be non-null and
non-empty
true
if the component is correctly stopped
javax.jbi.JBIException
- if the component fails to stopString[] uninstallAllComponents()
String[] uninstallAllNoMoreUsedComponents()
String[] uninstallAllSharedLibraries()
String[] uninstallAllNoMoreUsedSharedLibraries()
boolean uninstallComponent(String componentName) throws javax.jbi.JBIException
Installer.UNINSTALLED
state.
componentName
- name of the component to be uninstalled; must be non-null and
non-empty
true
if the component is correctly uninstalled
javax.jbi.JBIException
- if the component fails to uninstallString[] unloadAllInstallers(boolean force)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |