Package hudson.lifecycle
Class SolarisSMFLifecycle
- java.lang.Object
-
- hudson.lifecycle.Lifecycle
-
- hudson.lifecycle.SolarisSMFLifecycle
-
- All Implemented Interfaces:
ExtensionPoint
public class SolarisSMFLifecycle extends Lifecycle
Lifecycle
for Hudson installed as SMF service.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SolarisSMFLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
restart()
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, onExtendTimeout, onReady, onReload, onStatusUpdate, onStop, rewriteHudsonWar, verifyRestartable
-
-
-
-
Method Detail
-
restart
public void restart() throws IOException, InterruptedException
In SMF managed environment, just commit a suicide and the service will be restarted by SMF.- Overrides:
restart
in classLifecycle
- Throws:
IOException
InterruptedException
-
-