public abstract class CDIVerticle
extends io.vertx.core.AbstractVerticle
| Constructor and Description |
|---|
CDIVerticle() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
addBeanInstance(T bean) |
protected <T> T |
getBeanInstance(Class<T> type,
Annotation... annotations)
Retrieves an instance of a specific type and optionally with specific annotations from the CDI context
|
protected <T> T getBeanInstance(Class<T> type, Annotation... annotations)
T - The type parameter for the beantype - the type class of the bean that should be retrieved.annotations - optional set of annotations used for looking up the instance. Could be qualifiers or other annotations.protected <T> void addBeanInstance(T bean)
Copyright © 2016 DevCon5 GmbH. All rights reserved.