Package hudson.lifecycle
Class SolarisSMFLifecycle
java.lang.Object
hudson.lifecycle.Lifecycle
hudson.lifecycle.SolarisSMFLifecycle
- All Implemented Interfaces:
ExtensionPoint
Lifecycle
for Hudson installed as SMF service.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.lifecycle.Lifecycle
Lifecycle.PlaceholderLifecycle
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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, 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:
restart
in classLifecycle
- Throws:
IOException
InterruptedException
-