|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmonit.features.DefaultPluginManager
public class DefaultPluginManager
Default implementation of PluginManager.
| Constructor Summary | |
|---|---|
DefaultPluginManager()
Constructor |
|
| Method Summary | ||
|---|---|---|
|
getFactory(java.lang.Class<T> feature)
|
|
java.lang.Class |
getFeature(java.lang.String name)
Retrieve a feature by name. |
|
java.util.Collection<java.lang.Class> |
getFeatures(java.lang.String tag)
|
|
protected void |
readConfiguration()
|
|
protected void |
readFeatureGroupsConfiguration(java.util.Properties config)
|
|
protected void |
registerFeatures(java.util.Properties config)
|
|
void |
registerPlugin(Factory factory,
java.lang.Class role)
Register a plugin factory |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPluginManager()
| Method Detail |
|---|
protected void readFeatureGroupsConfiguration(java.util.Properties config)
protected void readConfiguration()
throws java.lang.Exception
java.lang.Exception
protected void registerFeatures(java.util.Properties config)
throws java.lang.Exception
java.lang.Exception
public void registerPlugin(Factory factory,
java.lang.Class role)
registerPlugin in interface PluginManagerfactory - the factoryrole - TODOPluginManager.registerPlugin(org.jmonit.spi.Factory,
Class)public <T> Factory<T> getFactory(java.lang.Class<T> feature)
getFactory in interface PluginManagerPluginManager.getFactory(java.lang.Class)public java.util.Collection<java.lang.Class> getFeatures(java.lang.String tag)
getFeatures in interface PluginManagertag - a name for a group of features
PluginManager.getFeatures(java.lang.String)public java.lang.Class getFeature(java.lang.String name)
getFeature in interface PluginManagerPluginManager.getFeature(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||