|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginManager
The plugins manager maintain a set of factories to create plugins on-demand for monitors. New plugins factories can be registered when application is running, to enable some fine tweak of application monitoring by simply deploying new plugins to existing monitors.
| 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 group)
|
|
void |
registerPlugin(Factory factory,
java.lang.Class role)
Register a plugin factory |
|
| Method Detail |
|---|
void registerPlugin(Factory factory,
java.lang.Class role)
F - the feature that the plugin will providefactory - the factoryrole - TODOjava.util.Collection<java.lang.Class> getFeatures(java.lang.String group)
group - a name for a group of features
<T> Factory<T> getFactory(java.lang.Class<T> feature)
java.lang.Class getFeature(java.lang.String name)
name -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||