Skip navigation links
A C D F G I N O P R S T U W 

A

addAllPluginJars(Path) - Method in interface de.skuzzle.tinyplugz.PluginSource
Adds all jar files from the given folder as plugin.
addAllPluginJars(Path, Predicate<Path>) - Method in interface de.skuzzle.tinyplugz.PluginSource
Adds all jar files from the given folder for which the given predicate holds true as plugin.
addPluginJar(Path) - Method in interface de.skuzzle.tinyplugz.PluginSource
Adds the given jar file as plugin.
addUnpackedPlugin(Path) - Method in interface de.skuzzle.tinyplugz.PluginSource
Adds a plugin which is not packed into a jar but which contents are contained in the given folder.

C

condition(boolean, String, Object...) - Static method in class de.skuzzle.tinyplugz.Require
Asserts that the given condition holds true.
configure(TinyPlugzConfigurator.DefineProperties, Path) - Method in class de.skuzzle.tinyplugz.TinyPlugzServletContextListener
Provides settings for deploying TinyPlugz.
ContextAction - Interface in de.skuzzle.tinyplugz
Atomic action which can be executed with the plugin Classloader as the current thread's context Classloader.
contextClassLoaderScope(ContextAction) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Executes the given ContextAction in the scope of the plugin Classloader.
contextDestroyed(ServletContextEvent) - Method in class de.skuzzle.tinyplugz.TinyPlugzServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class de.skuzzle.tinyplugz.TinyPlugzServletContextListener
 
createClassLoader(Collection<URL>, ClassLoader) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Creates a ClassLoader which accesses the given collection of plugins.

D

de.skuzzle.tinyplugz - package de.skuzzle.tinyplugz
 
defaultContextClassLoaderScope(ContextAction) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default implementation for TinyPlugz.contextClassLoaderScope(ContextAction) building upon result of TinyPlugz.getClassLoader().
defaultDispose() - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default behavior for TinyPlugz.dispose(): Calls close if the Classloader returned by TinyPlugz.getClassLoader() is an instance of Closeable.
defaultGetFirstService(Class<T>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default implementation for TinyPlugz.getFirstService(Class) building upon result of TinyPlugz.getServices(Class).
defaultGetResource(String) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default implementation for TinyPlugz.getResource(String) building upon result of TinyPlugz.getClassLoader().
defaultGetResources(String) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default implementation for TinyPlugz.getResources(String) building upon result of TinyPlugz.getClassLoader().
defaultGetService(Class<T>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default implementation of TinyPlugz.getService(Class) building upon result of TinyPlugz.getServices(Class).
defaultRunMain(String, String[]) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Default implementation for TinyPlugz.runMain(String, String[]).
deploy() - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DeployTinyPlugz
Finally deploys the TinyPlugz instance using the the configured values.
DEPLOY_LOCK - Static variable in class de.skuzzle.tinyplugz.TinyPlugzConfigurator
 
dispose() - Method in class de.skuzzle.tinyplugz.TinyPlugz
Called upon undeploy to release resources.

F

FAIL_ON_MULTIPLE_PROVIDERS - Static variable in class de.skuzzle.tinyplugz.Options
Configuration option which will cause the deployment to fail if there are multiple service providers on the class path.
FORCE_DEFAULT - Static variable in class de.skuzzle.tinyplugz.Options
Configuration property for disabling the TinyPlugz implementation lookup and always use the default implementation.
FORCE_IMPLEMENTATION - Static variable in class de.skuzzle.tinyplugz.Options
Configuration property for specifying a full qualified name of a class which extends TinyPlugz.

G

getClassLoader() - Method in class de.skuzzle.tinyplugz.TinyPlugz
Returns the ClassLoader which can access classes from loaded plugins.
getFirstService(Class<T>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Loads services of the given type which are accessible from loaded plugins and the host application by using java's ServiceLoader capabilities.
getInstance() - Static method in class de.skuzzle.tinyplugz.TinyPlugz
Gets the single TinyPlugz instance.
getResource(String) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Searches for a resource with given name within loaded plugins and the host application.
getResources(String) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Finds all the resources with the given name within loaded plugins and the host application.
getService(Class<T>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Loads services of the given type which are accessible from loaded plugins and the host application by using java's ServiceLoader capabilities.
getServices(Class<T>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Loads all services of the given type which are accessible from loaded plugins and the host application by using java's ServiceLoader capabilities.

I

initialize(Collection<URL>, ClassLoader, Map<Object, Object>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
This method is called by the TinyPlugz runtime right after instantiation of this instance.
isDeployed() - Static method in class de.skuzzle.tinyplugz.TinyPlugz
Checks whether TinyPlugz is currently deployed and is thus accessible using TinyPlugz.getInstance().
isServiceAvailable(Class<?>) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Checks whether there is at least one provider available for the given service.

N

nonNull(Object, String) - Static method in class de.skuzzle.tinyplugz.Require
Asserts that the given object is non null.
nonNullResult(Object, String) - Static method in class de.skuzzle.tinyplugz.Require
Asserts that a method call yielded a non-null result.
noPlugins(PluginSource) - Static method in interface de.skuzzle.tinyplugz.PluginSource
No-op method PluginSource consumer method for specifying no plugins when configuring a TinyPlugz instance.

O

Options - Class in de.skuzzle.tinyplugz
Holds constants which can be passed to the TinyPlugzConfigurator before deployment.

P

perform() - Method in interface de.skuzzle.tinyplugz.ContextAction
Defines the action to perform.
PluginSource - Interface in de.skuzzle.tinyplugz
Builder for configuring the plugins to be deployed by TinyPlugz.

R

Require - Class in de.skuzzle.tinyplugz
Utility class for checking parameters and states.
runMain(String, String[]) - Method in class de.skuzzle.tinyplugz.TinyPlugz
Executes a main method in the context of the plugin ClassLoader.

S

setup() - Static method in class de.skuzzle.tinyplugz.TinyPlugzConfigurator
Sets up a TinyPlugz instance which uses the current thread's context Classloader as parent Classloader.
setupUsingApplicationClassLoader() - Static method in class de.skuzzle.tinyplugz.TinyPlugzConfigurator
Sets up a TinyPlugz instance which uses the Classloader which loaded the TinyPlugzConfigurator class as parent Classloader.
setupUsingParent(ClassLoader) - Static method in class de.skuzzle.tinyplugz.TinyPlugzConfigurator
Sets up a TinyPlugz instance which uses the given Classloader as parent Classloader.
state(boolean, String, Object...) - Static method in class de.skuzzle.tinyplugz.Require
Asserts that the given condition holds true.

T

TINY_PLUGZ_CONFIG - Static variable in class de.skuzzle.tinyplugz.TinyPlugzConfigurator
Default resource name of tiny plugz class path configuration
TinyPlugz - Class in de.skuzzle.tinyplugz
TinyPlugz provides simple runtime classpath extension capabilities by providing a high level API around the java ServiceLoader and URLClassLoader classes.
TinyPlugz() - Constructor for class de.skuzzle.tinyplugz.TinyPlugz
 
TinyPlugzConfigurator - Class in de.skuzzle.tinyplugz
Provides a fluent builder API for configuring an application wide single TinyPlugz instance.
TinyPlugzConfigurator.DefineProperties - Interface in de.skuzzle.tinyplugz
Part of the fluent configurator API.
TinyPlugzConfigurator.DeployTinyPlugz - Interface in de.skuzzle.tinyplugz
Part of the fluent configurator API.
TinyPlugzException - Exception in de.skuzzle.tinyplugz
Base for TinyPlugz exception.
TinyPlugzException() - Constructor for exception de.skuzzle.tinyplugz.TinyPlugzException
Constructs a new exception with null as its detail message.
TinyPlugzException(String, Throwable, boolean, boolean) - Constructor for exception de.skuzzle.tinyplugz.TinyPlugzException
Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
TinyPlugzException(String, Throwable) - Constructor for exception de.skuzzle.tinyplugz.TinyPlugzException
Constructs a new exception with the specified detail message and cause.
TinyPlugzException(String) - Constructor for exception de.skuzzle.tinyplugz.TinyPlugzException
Constructs a new exception with the specified detail message.
TinyPlugzException(Throwable) - Constructor for exception de.skuzzle.tinyplugz.TinyPlugzException
Constructs a new exception with the specified cause and a detail message of (cause==null ?
TinyPlugzServletContextListener - Class in de.skuzzle.tinyplugz
ServletContextListener for configuring TinyPlugz for a web application.
TinyPlugzServletContextListener() - Constructor for class de.skuzzle.tinyplugz.TinyPlugzServletContextListener
 

U

undeploy() - Method in class de.skuzzle.tinyplugz.TinyPlugz
Undeploys the global TinyPlugz instance and calls its TinyPlugz.dispose() method.

W

withClasspathProperties() - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DefineProperties
Adds properties read from file from the class path.
withClasspathProperties(String) - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DefineProperties
Adds properties read from the class path using the given resource name.
withPlugins(Consumer<PluginSource>) - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DefineProperties
Provides the PluginSource via the given consumer for adding plugins which should be deployed.
withProperties(Map<? extends Object, ? extends Object>) - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DefineProperties
Specifies a multiple properties to insert into the map which will be passed to TinyPlugz.initialize(java.util.Collection, ClassLoader, Map) .
withProperty(String, Object) - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DefineProperties
Specifies a single property to insert into the map which will be passed to TinyPlugz.initialize(java.util.Collection, ClassLoader, Map) .
withProperty(String) - Method in interface de.skuzzle.tinyplugz.TinyPlugzConfigurator.DefineProperties
Specifies a property without value.
A C D F G I N O P R S T U W 
Skip navigation links

Copyright © 2014–2015. All rights reserved.