Weld Vert.x Extensions
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.
Features
- Provides
WeldVerticleto 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
@ApplicationScopedbeans forio.vertx.core.Vertxandio.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.Routein 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
Documentation
Brief documentation can be found at: http://docs.jboss.org/weld/weld-vertx/latest/
Building
To build simply run:
$ mvn clean install