oracle.dacf.control.swing.lov
Class ReturnItemNameListener
java.lang.Object
|
+--oracle.dacf.util.InfoBusMemberHelper
|
+--oracle.dacf.control.ConsumerSupport
|
+--oracle.dacf.control.DataItemAccessHelper
|
+--oracle.dacf.control.swing.lov.ReturnItemNameListener
- All Implemented Interfaces:
- oracle.dacf.rp.Consumer, java.util.EventListener, javax.infobus.InfoBusDataConsumer, javax.infobus.InfoBusEventListener, javax.infobus.InfoBusMember, oracle.dacf.rp.Participant, java.beans.PropertyChangeListener
- public class ReturnItemNameListener
- extends DataItemAccessHelper
This class discover the 'return item' names through RowsetAccess from the
ResultSetInfo data producers.
The return item names are exposed thro' getProperty method of the
RowsetAccess. This class listens for the dataItemAvailable event and
queries the RowsetAccess for return item names
- Version:
- Internal
Method Summary |
protected void |
_getReturnItemNames(java.lang.Object di)
|
void |
available(java.lang.String name,
java.lang.Object publishedObject)
|
void |
dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
This method is called by the InfoBus class on behalf of a data
producer that is announcing the availability of a new data item by
name. |
void |
dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
This method is called by the InfoBus class on behalf of a data
producer that is revoking the availability of a previously announced
data item. |
void |
setDataItemName(java.lang.String dataItemName)
specify a InfoBus based dataset. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReturnItemNameListener
public ReturnItemNameListener(ReturnItem returnItem)
- Constructor
setDataItemName
public void setDataItemName(java.lang.String dataItemName)
- specify a InfoBus based dataset. Specify a data item name
- Overrides:
setDataItemName
in class DataItemAccessHelper
- Parameters:
dataItemName
- - data item name to bind to
available
public void available(java.lang.String name,
java.lang.Object publishedObject)
- Overrides:
available
in class ConsumerSupport
dataItemAvailable
public void dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
- This method is called by the InfoBus class on behalf of a data
producer that is announcing the availability of a new data item by
name.
- Overrides:
dataItemAvailable
in class DataItemAccessHelper
_getReturnItemNames
protected void _getReturnItemNames(java.lang.Object di)
dataItemRevoked
public void dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
- This method is called by the InfoBus class on behalf of a data
producer that is revoking the availability of a previously announced
data item.
- Overrides:
dataItemRevoked
in class DataItemAccessHelper
- Parameters:
event
- The event.