hudson.lifecycle
Class SolarisSMFLifecycle

java.lang.Object
  extended by hudson.lifecycle.Lifecycle
      extended by 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
SolarisSMFLifecycle()
           
 
Method Summary
 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, rewriteHudsonWar, verifyRestartable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolarisSMFLifecycle

public SolarisSMFLifecycle()
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 class Lifecycle
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.