public interface PluginComponent
PluginComponent
defines an interface for plugin components that can be plugged to and
unplugged from a PluginBus
.Modifier and Type | Method and Description |
---|---|
void |
onPlugged(PluginBus bus)
Invoked when this
PluginComponent has been plugged to given PluginBus . |
void |
onPluginPlugged(java.lang.Object plugin)
Invoked when the given plugin object has been plugged to
PluginBus . |
void |
onPluginUnplugged(java.lang.Object plugin)
Invoked when the given plugin object has been unplugged from
PluginBus . |
void |
onUnplugged(PluginBus bus)
Invoked when this
PluginComponent has been unplugged from given PluginBus . |
void onPlugged(PluginBus bus)
PluginComponent
has been plugged to given PluginBus
.bus
- A PluginBus
.void onUnplugged(PluginBus bus)
PluginComponent
has been unplugged from given PluginBus
.bus
- A PluginBus
.void onPluginPlugged(java.lang.Object plugin)
PluginBus
.plugin
- A plugin as a Object
.void onPluginUnplugged(java.lang.Object plugin)
PluginBus
.plugin
- A plugin as a Object
.