public final class VertxPlatform
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
VertxPlatform() |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.eventbus.EventBus |
eventBus() |
static long |
executeBlockingPeriodic(long delay,
io.vertx.core.Handler<java.lang.Long> handler) |
static io.vertx.core.Vertx |
getVertx() |
static void |
spawnBlocking(long t,
java.util.concurrent.TimeUnit u) |
static void |
spawnVerticles(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> complete) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
static void |
undeployVerticles(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> complete) |
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
java.lang.Exception
public static void spawnVerticles(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> complete)
public static void spawnBlocking(long t, java.util.concurrent.TimeUnit u)
public static void undeployVerticles(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> complete)
public static io.vertx.core.Vertx getVertx()
public static long executeBlockingPeriodic(long delay, io.vertx.core.Handler<java.lang.Long> handler)
public static io.vertx.core.eventbus.EventBus eventBus()
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
Copyright © 2021. All Rights Reserved.