|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.kaariboga.core.Kaariboga
|
+--org.kaariboga.plugin.KbPlugIn
|
+--org.kaariboga.plugins.helloPlugIn.HelloPlugIn
An example for the implementation of a plug-in.
| Inner classes inherited from class org.kaariboga.core.Kaariboga |
Kaariboga.FireEventThread, Kaariboga.FireMessageThread |
| Field Summary | |
private HelloService |
service
A class that provides a set of methods. |
| Fields inherited from class org.kaariboga.plugin.KbPlugIn |
serviceNames |
| Fields inherited from class org.kaariboga.core.Kaariboga |
base, destination, kaaribogaListener, messageListener, name |
| Constructor Summary | |
HelloPlugIn(java.lang.String name)
Initialize the plug-in with name and a service name. |
|
| Method Summary | |
java.lang.Object |
getService(java.lang.String name)
This method returns an object, that can be used by agents or the server itself. |
void |
setProperties(java.util.Properties properties)
Set configuration options for this plug-in. |
| Methods inherited from class org.kaariboga.plugin.KbPlugIn |
getMessageTypes, getServiceNames |
| Methods inherited from class org.kaariboga.core.Kaariboga |
addKaaribogaListener, addKaaribogaMessageListener, fireDestroyRequest, fireDispatchRequest, fireKaaribogaMessage, fireSleepRequest, getDestination, getName, handleMessage, onArrival, onAwake, onCreate, onDestroy, onDispatch, onSleep, run, setBase, toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private HelloService service
| Constructor Detail |
public HelloPlugIn(java.lang.String name)
name - Unique Id for this instance.| Method Detail |
public java.lang.Object getService(java.lang.String name)
getService in class KbPlugInpublic void setProperties(java.util.Properties properties)
setProperties in class KbPlugInprops - Properties for this plug-in.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||