| Modifier and Type | Class and Description |
|---|---|
static interface |
TinyPlugzConfigurator.DefineProperties
Part of the fluent configurator API.
|
static interface |
TinyPlugzConfigurator.DeployTinyPlugz
Part of the fluent configurator API.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Object |
DEPLOY_LOCK
Lock which synchronizes every non-trivial access to TinyPlugz.instance.
|
static @NonNull String |
TINY_PLUGZ_CONFIG
Default resource name of tiny plugz class path configuration
|
| Modifier and Type | Method and Description |
|---|---|
static TinyPlugzConfigurator.DefineProperties |
setup()
Sets up a
TinyPlugz instance which uses the current thread's
context Classloader as parent Classloader. |
static TinyPlugzConfigurator.DefineProperties |
setupUsingApplicationClassLoader()
Sets up a
TinyPlugz instance which uses the Classloader which
loaded the TinyPlugzConfigurator class as parent Classloader. |
static TinyPlugzConfigurator.DefineProperties |
setupUsingParent(ClassLoader parentClassLoader)
Sets up a
TinyPlugz instance which uses the given Classloader as
parent Classloader. |
public static final @NonNull String TINY_PLUGZ_CONFIG
protected static final Object DEPLOY_LOCK
public static TinyPlugzConfigurator.DefineProperties setup()
TinyPlugz instance which uses the current thread's
context Classloader as parent Classloader.
This Classloader will be used for several purposes. First, it serves as
parent Classloader for the plugin Classloader which is to be created to
access classes and configurations from plugins. Second, the Classloader
will be used to look up the TinyPlugz service provider either using the
ServiceLoader or by looking up an explicit implementation class.
public static TinyPlugzConfigurator.DefineProperties setupUsingParent(ClassLoader parentClassLoader)
TinyPlugz instance which uses the given Classloader as
parent Classloader.
This Classloader will be used for several purposes. First, it serves as
parent Classloader for the plugin Classloader which is to be created to
access classes and configurations from plugins. Second, the Classloader
will be used to look up the TinyPlugz service provider either using the
ServiceLoader or by looking up an explicit implementation class.
parentClassLoader - The parent Classloader to use.public static TinyPlugzConfigurator.DefineProperties setupUsingApplicationClassLoader()
TinyPlugz instance which uses the Classloader which
loaded the TinyPlugzConfigurator class as parent Classloader.
This Classloader will be used for several purposes. First, it serves as
parent Classloader for the plugin Classloader which is to be created to
access classes and configurations from plugins. Second, the Classloader
will be used to look up the TinyPlugz service provider either using the
ServiceLoader or by looking up an explicit implementation class.
Copyright © 2014–2015. All rights reserved.