-
@Retention(RUNTIME) @Target(TYPE) public @interface SpringVerticle
With this annotation you declare a Verticle as a spring verticle. Define the configuration class for each verticle. You can also reuse spring configurations for different verticles. The autoremoveOtherSpringVerticles defines if you Spring verticle should be the only one in spring context. If you set it to false the other Spring Verticles are simple Spring beans with references to Vertx context.- Author:
- Andy Moncsek , Johannes Schüth
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanautoremoveOtherSpringVerticlesDefines if other Spring verticles in the same spring context will be removed.Class<?>springConfigDefines the Spring Configuration class for the Spring Verticle
-
-
-
Element Detail
-
springConfig
Class<?> springConfig
Defines the Spring Configuration class for the Spring Verticle- Returns:
- a Spring configuration class
- Default:
- java.lang.Object.class
-
-