public final class Factories extends Object
This helper class should be used with the net.kuujo.vertigo.util.Factory
annotation to construct types from annotated factory methods. Specifically,
when constructing types that are specific to different cluster modes, the factory
utility will automatically fall back to the appropriate default local- or cluster-
type according to the current Vertigo cluster mode.
| Constructor and Description |
|---|
Factories() |
| Modifier and Type | Method and Description |
|---|---|
static Component |
createComponent(org.vertx.java.core.Vertx vertx,
org.vertx.java.platform.Container container)
Creates a component instance for the current Vert.x instance.
|
public static Component createComponent(org.vertx.java.core.Vertx vertx, org.vertx.java.platform.Container container)
Copyright © 2013-2014. All Rights Reserved.