Class Launcher

java.lang.Object
de.wuespace.telestion.launcher.Launcher

public final class Launcher extends Object
A generic org.telestion.launcher.launcher class which deploys Verticles.
See Also:
Verticle
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main​(String[] args)
    Simply calls start(String...).
    static void
    start​(io.vertx.core.Verticle... verticles)
    Deploys the given Verticles.
    If Vert.x fails to deploy a Verticle, it will retry after 5 secs.
    static void
    start​(String... verticleNames)
    Deploys the given Verticles.
    If Vert.x fails to deploy a Verticle, it will retry after 5 secs.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Launcher

      public Launcher()
  • Method Details

    • main

      public static void main(String[] args)
      Simply calls start(String...).
      Parameters:
      args - the class names of the Verticles which should be deployed
    • start

      public static void start(String... verticleNames)
      Deploys the given Verticles.
      If Vert.x fails to deploy a Verticle, it will retry after 5 secs.
      Parameters:
      verticleNames - the class names of the Verticles which should be deployed
    • start

      public static void start(io.vertx.core.Verticle... verticles)
      Deploys the given Verticles.
      If Vert.x fails to deploy a Verticle, it will retry after 5 secs.
      Parameters:
      verticles - the verticles to be deployed