The primary purpose of weld-vertx
is to bring the CDI programming model into the Vert.x ecosystem, i.e. to extend the tool-kit for building reactive applications on the JVM.
- Provides
WeldVerticle
to start/stop the CDI container (using Weld SE) - see also Core - Makes it possible to notify CDI observer methods when a message is sent via Vert.x event bus - see also Core
- Provides
@ApplicationScoped
beans forio.vertx.core.Vertx
andio.vertx.core.Context
- see also Core - Provides "async" helpers such as AsyncReference and AsyncWorker - see also Core
- Allows to deploy Verticles produced/injected by Weld - see also Core
- Allows to define/register an
io.vertx.ext.web.Route
in a declarative way, using@org.jboss.weld.vertx.web.WebRoute
- see also Web - Allows to inject and invoke service proxies (as defined in https://github.com/vert-x3/vertx-service-proxy) - see also Service Proxy
Brief documentation can be found at: http://docs.jboss.org/weld/weld-vertx/latest/
To build simply run:
$ mvn clean install