|
||||||||||
| 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(java.lang.String compName)
Try to unload installer of a component. |
java.lang.String[] |
getInstalledComponentsForSharedLibrary(java.lang.String slName)
Get the list of components that use the shared library |
java.lang.String[] |
getInstalledSharedLibraries()
Get the list of all installed shared libraries |
java.lang.String[] |
getInstallers()
Get the list of all the existing installers |
java.lang.String[] |
shutdownAllComponents()
Try to shutdown all components. |
boolean |
shutdownComponent(java.lang.String componentName)
Shutdown the component. |
java.lang.String[] |
startAllComponents()
Try to start all components. |
boolean |
startComponent(java.lang.String componentName)
Start the component. |
java.lang.String[] |
stopAllComponents()
Try to stop all components. |
boolean |
stopComponent(java.lang.String componentName)
Stop the component. |
java.lang.String[] |
uninstallAllComponents()
Try to uninstall all components. |
java.lang.String[] |
uninstallAllSharedLibraries()
Try to uninstall all shared libraries. |
boolean |
uninstallComponent(java.lang.String componentName)
Uninstall the component. |
boolean |
uninstallSharedLibrary(java.lang.String slName,
java.lang.String version)
Uninstall a previously installed shared library with the given version. |
java.lang.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(java.lang.String slName,
java.lang.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(java.lang.String compName)
compName - the component unique name
java.lang.String[] getInstalledComponentsForSharedLibrary(java.lang.String slName)
throws java.lang.Exception
slName - the name of the shared library
java.lang.Exception - if the shared library is not installedjava.lang.String[] getInstalledSharedLibraries()
java.lang.String[] getInstallers()
java.lang.String[] shutdownAllComponents()
boolean shutdownComponent(java.lang.String componentName)
throws javax.jbi.JBIException
LifeCycleMBean.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 downjava.lang.String[] startAllComponents()
boolean startComponent(java.lang.String componentName)
throws javax.jbi.JBIException
LifeCycleMBean.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 startjava.lang.String[] stopAllComponents()
boolean stopComponent(java.lang.String componentName)
throws javax.jbi.JBIException
LifeCycleMBean.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 stopjava.lang.String[] uninstallAllComponents()
java.lang.String[] uninstallAllSharedLibraries()
boolean uninstallComponent(java.lang.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 uninstalljava.lang.String[] unloadAllInstallers(boolean force)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||