public class Plugins extends AbstractMap<String,Plugin1>
Container
, and
also the "system" plugins that are part of the Sincerity base installation.
Because the set of plugins in a container depends on its classpath, instance
of this class are associated with the Dependencies
class.
Note that this class implements an unmodifiable map.
Container.getPlugins()
,
Sincerity.getPlugins()
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Plugins(Container<?,?> container) |
Plugins(Sincerity sincerity) |
Plugins(Sincerity sincerity,
Container<?,?> container)
Finds all delegated and JVM plugins in the container's classpath.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,Plugin1>> |
entrySet() |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Plugins(Container<?,?> container) throws SincerityException
container
- The containerSincerityException
- In case of an errorpublic Plugins(Sincerity sincerity) throws SincerityException
sincerity
- The Sincerity instanceSincerityException
- In case of an errorpublic Plugins(Sincerity sincerity, Container<?,?> container) throws SincerityException
sincerity
- The Sincerity instancecontainer
- The container or nullSincerityException
- In case of an errorCopyright © 2011-2016 Three Crickets LLC.