public class AbstractPluginComponent extends ScopedObject implements PluginComponent
AbstractPluginComponent
provides an abstract base class for implementing
PluginComponent
s.Modifier | Constructor and Description |
---|---|
protected |
AbstractPluginComponent() |
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 . |
getScope, setScope
public void onPlugged(PluginBus bus)
PluginComponent
PluginComponent
has been plugged to given PluginBus
.onPlugged
in interface PluginComponent
bus
- A PluginBus
.public void onUnplugged(PluginBus bus)
PluginComponent
PluginComponent
has been unplugged from given PluginBus
.onUnplugged
in interface PluginComponent
bus
- A PluginBus
.public void onPluginPlugged(java.lang.Object plugin)
PluginComponent
PluginBus
.onPluginPlugged
in interface PluginComponent
plugin
- A plugin as a Object
.public void onPluginUnplugged(java.lang.Object plugin)
PluginComponent
PluginBus
.onPluginUnplugged
in interface PluginComponent
plugin
- A plugin as a Object
.