vertx-pico

vertx integration with PicoContainer

License

License

GroupId

GroupId

one.valuelogic
ArtifactId

ArtifactId

vertx-pico
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

vertx-pico
vertx integration with PicoContainer
Project URL

Project URL

https://github.com/valuelogic/vertx-pico
Source Code Management

Source Code Management

https://github.com/valuelogic/vertx-pico

Download vertx-pico

How to add to project

<!-- https://jarcasting.com/artifacts/one.valuelogic/vertx-pico/ -->
<dependency>
    <groupId>one.valuelogic</groupId>
    <artifactId>vertx-pico</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/one.valuelogic/vertx-pico/
implementation 'one.valuelogic:vertx-pico:0.2.1'
// https://jarcasting.com/artifacts/one.valuelogic/vertx-pico/
implementation ("one.valuelogic:vertx-pico:0.2.1")
'one.valuelogic:vertx-pico:jar:0.2.1'
<dependency org="one.valuelogic" name="vertx-pico" rev="0.2.1">
  <artifact name="vertx-pico" type="jar" />
</dependency>
@Grapes(
@Grab(group='one.valuelogic', module='vertx-pico', version='0.2.1')
)
libraryDependencies += "one.valuelogic" % "vertx-pico" % "0.2.1"
[one.valuelogic/vertx-pico "0.2.1"]

Dependencies

compile (2)

Group / Artifact Type Version
io.vertx : vertx-core jar 3.4.2
org.picocontainer : picocontainer jar 2.15

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.8.0
io.vertx : vertx-unit jar 3.4.2
org.mockito : mockito-core jar 2.8.47

Project Modules

There are no modules declared in this project.

CircleCI

Vertx PicoContainer verticle factory

Dependency injection for verticles

Usage

Add dependency in Gradle:

dependencies {
  compile "one.valuelogic.vertx-pico:0.1"
}

or in Maven:

<dependencies>
   <dependency>
      <groupId>one.valuelogic</groupId>
      <artifactId>vertx-pico</artifactId>
      <version>0.1</version>
   </dependency>
</dependencies>   

To be used, it should be registered in Vertx and verticle should be deployed with pico: prefix.

    vertx.registerVerticleFactory(new PicoVerticleFactory(picoContainer));
    vertx.deployVerticle("pico:"+ExampleVerticle.class.getName());
one.valuelogic

ValueLogic

Versions

Version
0.2.1
0.2
0.1