Interface IListener

All Superinterfaces:
Disposable, IModule

public interface IListener
extends IModule

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:


The value of the IListener property is a comma-separated list of classnames.

CVS $Revision: 1.1 $ $Date: 2005/05/19 22:16:47 $
Matt Hoosier

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