@ApplicationScoped public class Restx extends Object
| Constructor and Description |
|---|
Restx() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.weld.environment.se.WeldContainer |
container() |
io.vertx.core.Vertx |
getVertx() |
void |
initVertx(Object obj) |
static void |
main(String[] args) |
void |
shutdown() |
public static org.jboss.weld.environment.se.WeldContainer container()
public static void main(String[] args)
public void initVertx(@Observes @Initialized(value=javax.enterprise.context.ApplicationScoped.class)
Object obj)
@Produces @ApplicationScoped public io.vertx.core.Vertx getVertx()
@PreDestroy public void shutdown()
Copyright © 2016 DevCon5 GmbH. All rights reserved.