| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final boolean | |
| pack-priv List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| public Class | Returns: An array of Plugin objectsThis method returns all the Plugins found in the directory passed in at object creation time or any of its sub-directories. |
| public Class | Returns: The list of plugin classes that extend the passed in class.The class to match. superclass)This method returns a sub-list of all the found Plugin classes that extend the passed in Class (either directly or through inheritance.) |
| public Class | Returns: The list of plugin classes that implement at least one member of the passed in set of interfaces.A set of interfaces to match against the interfaces
implemented by the plugin classes. interfaces)This method returns a sub-list of all the found Plugin classes that implement all of the passed in set of Interfaces (either directly or through inheritance.) |
| public Class | Returns: The list of plugin classes that implement at least one member of the passed in set of interfaces.A set of interfaces to match against the interfaces
implemented by the plugin classes. interfaces)This method returns a sub-list of all the found Plugin classes that implement any of the passed in set of Interfaces (either directly or through inheritance.) |
| private void | |
| private void |
| DEBUG | back to summary |
|---|---|
| pack-priv static final boolean DEBUG | |
| pluginList | back to summary |
|---|---|
| pack-priv List<E> pluginList | |
| Plugins | back to summary |
|---|---|
| public Plugins(File pluginRoot) throws IOException Creates a new instance of Plugins
| |
| classExtends | back to summary |
|---|---|
| private boolean classExtends(Class<T> testClass, Class<T> superclass) | |
| classImplementsAll | back to summary |
|---|---|
| private boolean classImplementsAll(Class<T> testClass, Set<E> interfaces) | |
| classImplementsAny | back to summary |
|---|---|
| private boolean classImplementsAny(Class<T> testClass, Set<E> interfaces) | |
| get | back to summary |
|---|---|
| public Class This method returns all the Plugins found in the directory passed in at object creation time or any of its sub-directories.
| |
| getExtends | back to summary |
|---|---|
| public Class This method returns a sub-list of all the found Plugin classes that extend the passed in Class (either directly or through inheritance.) | |
| getImplementsAll | back to summary |
|---|---|
| public Class This method returns a sub-list of all the found Plugin classes that implement all of the passed in set of Interfaces (either directly or through inheritance.) | |
| getImplementsAny | back to summary |
|---|---|
| public Class This method returns a sub-list of all the found Plugin classes that implement any of the passed in set of Interfaces (either directly or through inheritance.) | |
| processJar | back to summary |
|---|---|
| private void processJar(File f) | |
| scanPlugins | back to summary |
|---|---|
| private void scanPlugins(File dir) throws IOException | |