| Package | Description |
|---|---|
| de.skuzzle.tinyplugz |
This package contains the main public client API of
TinyPlugz. |
| de.skuzzle.tinyplugz.internal |
This package contains internal classes which are not meant to be directly
referenced by client code.
|
| de.skuzzle.tinyplugz.util |
Utilities for TinyPlugz.
|
| Modifier and Type | Method and Description |
|---|---|
protected ElementIterator<URL> |
TinyPlugz.defaultGetResources(String name)
Default implementation for
TinyPlugz.getResources(String) building upon
result of TinyPlugz.getClassLoader(). |
abstract ElementIterator<URL> |
TinyPlugz.getResources(String name)
Finds all the resources with the given name within loaded plugins and the
host application.
|
abstract <T> ElementIterator<T> |
TinyPlugz.getServices(Class<T> type)
Loads all services of the given type which are accessible from loaded
plugins and the host application by using java's
ServiceLoader
capabilities. |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> ElementIterator<T> |
ServiceLoaderWrapper.loadService(Class<T> providerClass,
ClassLoader classLoader)
Returns an
Iterator of all implementors of the given service
provider interface. |
| Modifier and Type | Method and Description |
|---|---|
static <T> ElementIterator<T> |
Iterators.composite(Iterator<T>... iterators)
Creates an iterator which subsequently iterates over all given iterators.
|
static <T> @NonNull ElementIterator<T> |
ElementIterator.wrap(Enumeration<T> enumeration)
Wraps the given enumeration into a
ElementIterator. |
static <T> @NonNull ElementIterator<T> |
ElementIterator.wrap(Iterator<T> iterator)
Wraps the given iterator into a
ElementIterator. |
Copyright © 2014–2015. All rights reserved.