org.sonar.server.platform
Class ServerLifecycleNotifier

java.lang.Object
  extended by org.sonar.server.platform.ServerLifecycleNotifier
All Implemented Interfaces:
ServerComponent

public class ServerLifecycleNotifier
extends Object
implements ServerComponent

Since:
2.2

Constructor Summary
ServerLifecycleNotifier(Server server)
           
ServerLifecycleNotifier(Server server, ServerStartHandler[] startHandlers)
           
ServerLifecycleNotifier(Server server, ServerStartHandler[] startHandlers, ServerStopHandler[] stopHandlers)
           
ServerLifecycleNotifier(Server server, ServerStopHandler[] stopHandlers)
           
 
Method Summary
 void notifyStart()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerLifecycleNotifier

public ServerLifecycleNotifier(Server server,
                               ServerStartHandler[] startHandlers,
                               ServerStopHandler[] stopHandlers)

ServerLifecycleNotifier

public ServerLifecycleNotifier(Server server,
                               ServerStartHandler[] startHandlers)

ServerLifecycleNotifier

public ServerLifecycleNotifier(Server server,
                               ServerStopHandler[] stopHandlers)

ServerLifecycleNotifier

public ServerLifecycleNotifier(Server server)
Method Detail

start

public void start()

notifyStart

public void notifyStart()

stop

public void stop()


Copyright © 2009-2012 SonarSource. All Rights Reserved.