public final class Options extends Object
TinyPlugzConfigurator
before deployment.| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
ALL_DEFAULT_OPTIONS
Unmodifiable set containing all known default options.
|
static String |
FAIL_ON_MULTIPLE_PROVIDERS
Configuration option which will cause the deployment to fail if there are
multiple service providers on the class path.
|
static String |
FORCE_DEFAULT
Configuration property for disabling the TinyPlugz implementation lookup
and always use the default implementation.
|
static String |
FORCE_IMPLEMENTATION
Configuration property for explicitly specifying the
TinyPlugz
implementation to use. |
static String |
PLUGIN_FOLDER
Configuration property for specifying an additional folder to load
plugins from.
|
static String |
SERVICE_LOADER_WRAPPER
Configuration property for specifying the service loader implementation
to use.
|
public static final String SERVICE_LOADER_WRAPPER
TinyPlugz.getServices(Class) or
TinyPlugz.findDeployListeners(ClassLoader).
Class, then the class's
default constructor will be invoked to create a ServiceLoaderWrapper
instance.public static final String PLUGIN_FOLDER
TinyPlugz will include all jar files contained in the provided folder as
plugins, adding them to the user specified plugins (given by either
TinyPlugzConfigurator.DefineProperties.withPlugins(java.util.function.Consumer) or
TinyPlugzConfigurator.DefineProperties.withPlugins(PluginSource)).
public static final String FORCE_IMPLEMENTATION
TinyPlugz
implementation to use. It supports three different kind of value types:
Class, then the class's
default constructor will be invoked to create a TinyPlugz instance.
Note: The presence of this property AND FORCE_DEFAULT
will raise an exception when
deploying.
public static final String FORCE_DEFAULT
Note: The presence of this property AND FORCE_IMPLEMENTATION
will raise an exception when
deploying.
public static final String FAIL_ON_MULTIPLE_PROVIDERS
Copyright © 2014–2015. All rights reserved.