public interface Startable
ComputeEngineSide(referred to below as "component") that can be started and stopped.
start() is called at the begin of the component lifecycle.
It can be called again only after a call to
stop() method is called at the end of the
component lifecycle, and can further be called after every
In the WebServer, a component is started once: either right when the WebServer is started if there is no migration,
otherwise only after Database has been successfully migrated. It is stopped once when the WebServer is shutdown. Any
exception thrown by method
start() will make the WebServer startup fail.
In the Compute Engine, a component is started once when the Compute Engine is started and stopped once when the
ComputeEngine is shut down. Any exception thrown by method
start() will make the Compute Engine startup fail.
On Scanner side, the lifecycle of a component depends on the value of the
Copyright © 2009–2017 SonarSource. All rights reserved.