Interface CoreDeployment

All Known Subinterfaces:
CoreHandler, CoreListener, CoreService
All Known Implementing Classes:
BusForwarder, BusRouter, ClusterListener, Launcher, MultiHandler, RestListener, TcpListener, UdpListener, WebsocketListener

public interface CoreDeployment
An unit that is deployable on the CoreContext.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    init​(CoreContext core)
    Init method that is called with the context that the service was deployed from.
    default void
    start​(io.vertx.core.Promise<Void> start)
     
    default void
    stop​(io.vertx.core.Promise<Void> stop)
     
  • Method Details

    • init

      default void init(CoreContext core)
      Init method that is called with the context that the service was deployed from.
      Parameters:
      core - the core context to use.
    • stop

      default void stop(io.vertx.core.Promise<Void> stop)
      Parameters:
      stop - complete when asynchronous shutdown is completed.
    • start

      default void start(io.vertx.core.Promise<Void> start)
      Parameters:
      start - complete when asynchronous startup is completed.