Package hudson.lifecycle
Class SolarisSMFLifecycle
java.lang.Object
hudson.lifecycle.Lifecycle
hudson.lifecycle.SolarisSMFLifecycle
Lifecycle for Hudson installed as SMF service.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.lifecycle.Lifecycle
Lifecycle.PlaceholderLifecycle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrestart()In SMF managed environment, just commit a suicide and the service will be restarted by SMF.Methods inherited from class hudson.lifecycle.Lifecycle
canRestart, canRewriteHudsonWar, get, getHudsonWar, onBootFailure, onExtendTimeout, onReady, onReload, onStatusUpdate, onStop, rewriteHudsonWar, supportsDynamicLoad, verifyRestartable
-
Constructor Details
-
SolarisSMFLifecycle
public SolarisSMFLifecycle()
-
-
Method Details
-
restart
In SMF managed environment, just commit a suicide and the service will be restarted by SMF.- Overrides:
restartin classLifecycle- Throws:
IOExceptionInterruptedException
-