de.mud.jta
public class Plugin extends java.lang.Object
Maintainer: Matthias L. Jugel
| Modifier and Type | Field and Description |
|---|---|
protected PluginBus |
bus
holds the plugin bus used for communication between plugins
|
protected java.lang.String |
id
in case we have several plugins of the same type this contains their
unique id
|
| Constructor and Description |
|---|
Plugin(PluginBus bus,
java.lang.String id)
Create a new plugin and set the plugin bus used by this plugin and
the unique id.
|
protected PluginBus bus
protected java.lang.String id
public Plugin(PluginBus bus, java.lang.String id)
bus - the plugin busid - the unique plugin idpublic java.lang.String getId()
public void error(java.lang.String msg)
msg - the error message