All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.infobus.InfoBusDataProducer

public interface InfoBusDataProducer
extends InfoBusEventListener
Implementers of InfoBusDataProducer assume the role of data providers on an InfoBus. InfoBusDataProducers can announce and revoke availability of their data. They also register with their InfoBus in order to hear requests for data from consumers on the bus.

An InfoBusDataProducer must track the InfoBus property of the InfoBusMember that obtained the bus for them, so that if the setInfoBus method is called with a new InfoBus, the producer will know to register with the new bus and deregister with the old. This is the only bound property that the InfoBus protocol requires InfoBusDataProducers to track. The base interface, InfoBusEventListener, extends java.beans.PropertyChangeListener to accomplish this, which in turn requires InfoBusDataProducers to implement a propertyChange() method.

Version:
$Revision: 1.7 $ $Date: 24 Feb 1998 17:04:36 $

Method Index

 o dataItemRequested(InfoBusItemRequestedEvent)
This method is called by the InfoBus class on behalf of a data consumer that is requesting a data item by name.

Methods

 o dataItemRequested
 public abstract void dataItemRequested(InfoBusItemRequestedEvent event)
This method is called by the InfoBus class on behalf of a data consumer that is requesting a data item by name. The suggested implementation:


All Packages  Class Hierarchy  This Package  Previous  Next  Index