public class MavenVerticleFactory extends ServiceVerticleFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_PROXY_SYS_PROP |
static String |
HTTPS_PROXY_SYS_PROP |
static String |
LOCAL_REPO_SYS_PROP |
static String |
REMOTE_REPOS_SYS_PROP |
static String |
REMOTE_SNAPSHOT_POLICY_SYS_PROP |
static boolean |
RESOLVE_CALLED |
| Constructor and Description |
|---|
MavenVerticleFactory()
Creates an instance of
MavenVerticleFactory using the system properties to initialize the ResolverOptions. |
MavenVerticleFactory(Resolver resolver)
Creates an instance of
MavenVerticleFactory with a custom Resolver. |
MavenVerticleFactory(ResolverOptions options)
Creates an instance of
MavenVerticleFactory with the given resolution options. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createVerticle(String verticleName,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Promise<Callable<Verticle>> promise) |
Resolver |
getResolver() |
void |
init(Vertx vertx)
Initialise the factory
|
String |
prefix() |
createVerticleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, order, removePrefixpublic static final String LOCAL_REPO_SYS_PROP
public static final String REMOTE_REPOS_SYS_PROP
public static final String HTTP_PROXY_SYS_PROP
public static final String HTTPS_PROXY_SYS_PROP
public static final String REMOTE_SNAPSHOT_POLICY_SYS_PROP
public static volatile boolean RESOLVE_CALLED
public MavenVerticleFactory()
MavenVerticleFactory using the system properties to initialize the ResolverOptions.
It uses the default resolver implementation.public MavenVerticleFactory(ResolverOptions options)
MavenVerticleFactory with the given resolution options.
It uses the default resolver implementation.options - the options.public MavenVerticleFactory(Resolver resolver)
MavenVerticleFactory with a custom Resolver. The resolver must already be
configured.resolver - the resolver to usepublic void init(Vertx vertx)
VerticleFactoryvertx - The Vert.x instancepublic String prefix()
prefix in interface VerticleFactoryprefix in class ServiceVerticleFactoryprotected void createVerticle(String verticleName, DeploymentOptions deploymentOptions, ClassLoader classLoader, Promise<Callable<Verticle>> promise)
createVerticle in class ServiceVerticleFactorypublic Resolver getResolver()
Copyright © 2022 Eclipse. All rights reserved.