|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin<F>
A feature enhances jMonit API and computation capabilities by providing new features. It can communicate with other features via the monitoring event bus, either by listening to events, or by emitting custom ones.
A feature is identified by the feature class it exposes to application.
Method Summary | |
---|---|
F |
getFeature()
A feature is identified by the class it exposes to the
monitored application. |
void |
setMonitor(Monitor monitor)
Set the monitor this plugin extends. |
void |
setMonitoringEventBus(MonitoringEventBus bus)
Set the event bus used to dispatch monitoring events between the monitor and it's features. |
Method Detail |
---|
void setMonitoringEventBus(MonitoringEventBus bus)
bus
- the event busvoid setMonitor(Monitor monitor)
monitor
- the extended monitorF getFeature()
class
it exposes to the
monitored application.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |