|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IListener
Tagging interface type for modules which attach some kind of event-listener.
To attach a listener declaratively through the key/value configuration
mechanism, the implementor should do this during the connect()
method of an IListener
:
package myPackage; public class SimpleListener implements IListener { ... public IMessageStore connect(IBogorConfiguration bc) { ... // attach listener ... } ... }
Then the new listener class can be specified to be loaded by doing:
edu.ksu.cis.projects.bogor.module.IListener=myPackage.SimpleListener
The value of the IListener property is a comma-separated list of classnames.
Method Summary |
---|
Methods inherited from interface edu.ksu.cis.projects.bogor.module.IModule |
---|
connect, getCopyrightNotice, setOptions |
Methods inherited from interface edu.ksu.cis.projects.bogor.util.Disposable |
---|
dispose |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |