|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.core.plugins.PluginLoader
public class PluginLoader
This class is used to handle plugins.
| Constructor Summary | |
|---|---|
PluginLoader(java.lang.String directory)
Loads an the plugins into BioLegato. |
|
| Method Summary | |
|---|---|
PluginWrapper |
getPlugin(java.lang.String string)
Retrieves a plugin by name. |
java.util.Map<java.lang.String,PluginWrapper> |
getPluginHash()
Maintains a list with all of the plugins loaded by BioLegato. |
java.util.Collection<PluginWrapper> |
getPlugins(java.lang.Class<?> type)
Returns a list with all of the plugins loaded by BioLegato that are instances of the class type indicated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginLoader(java.lang.String directory)
directory - the directory to load the plugins from| Method Detail |
|---|
public java.util.Map<java.lang.String,PluginWrapper> getPluginHash()
public java.util.Collection<PluginWrapper> getPlugins(java.lang.Class<?> type)
type - the plugin type to find
public PluginWrapper getPlugin(java.lang.String string)
string - the plugin to retrieve
|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||