public final class VertxPlatform
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Constructor and Description |
---|
VertxPlatform() |
Modifier and Type | Method and Description |
---|---|
static org.vertx.java.core.eventbus.EventBus |
eventBus() |
static org.vertx.java.platform.PlatformManager |
getPlatformManager() |
static org.vertx.java.core.Vertx |
getVertx() |
static void |
spawnBlocking(int t,
java.util.concurrent.TimeUnit u) |
static void |
spawnVerticles(org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> complete) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
static void |
undeployVerticles(org.vertx.java.core.Handler<org.vertx.java.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 org.vertx.java.platform.PlatformManager getPlatformManager()
public static void spawnVerticles(org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> complete)
public static void undeployVerticles(org.vertx.java.core.Handler<org.vertx.java.core.AsyncResult<java.lang.Void>> complete)
public static org.vertx.java.core.Vertx getVertx()
public static org.vertx.java.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
public static void spawnBlocking(int t, java.util.concurrent.TimeUnit u)
Copyright © 2021. All Rights Reserved.