|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.dacf.dataset.IBItemProducer
This class is the DataProducer on the InfoBus and responds to all subscription requests for DataItems. This class also serves as the root object for all of the InfoObjects that within the application. It also serves as the collection point for those errors that do not specifically belong on another object, yet contain information concerning the application as a whole.
The application is not responsible for instantiating this class. It is instantiated by the DAC framework.
| Method Summary | |
void |
addInfoBusPropertyListener(java.beans.PropertyChangeListener cl)
Adds a PropertyChangeListener that will be alerted whenever the InfoBusMember's setInfoBus method is called and not vetoed. |
void |
addInfoBusVetoableListener(java.beans.VetoableChangeListener vcl)
Adds a VetoableChangeListener to the list of listeners that will be alerted whenever the InfoBusMember's setInfoBus method is called. |
void |
dataItemRequested(javax.infobus.InfoBusItemRequestedEvent e)
Responds to the InfoBusItemRequestedEvent event. |
protected void |
finalize()
Called by the garbage collector on a DataProducer when garbage collection determines that there are no more references to the object. |
javax.infobus.InfoBus |
getInfoBus()
Returns the InfoBus which is currently assigned to the InfoBusMember's InfoBus property. |
java.lang.String |
getInfoBusName()
Returns the name of the active InfoBus. |
protected java.lang.String |
getName()
Returns the fully qualified InfoBus name of this producer. |
static java.lang.String |
getURIScheme()
Returns the prefix of the URI name format for a data item. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
The event listener that responds to all PropertyChangeEvent events. |
void |
released(java.lang.String objectName)
|
void |
removeInfoBusPropertyListener(java.beans.PropertyChangeListener cl)
Removes a PropertyChangeListener from the list of listeners requesting notification of an InfoBus change. |
void |
removeInfoBusVetoableListener(java.beans.VetoableChangeListener vcl)
Removes a VetoableChangeListener from the list of listeners that will be alerted whenever the InfoBusMember's setInfoBus method is called. |
java.lang.Object |
requested(java.lang.String objectName)
|
void |
setInfoBus(javax.infobus.InfoBus ib)
When an InfoBusMember joins an InfoBus (via InfoBus.join), the responding InfoBus will use this method to set the member's InfoBus property to itself. |
void |
setInfoBusName(java.lang.String infoBusName)
Sets the name of the active InfoBus. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable - passes on any thrown exceptions.public java.lang.String getInfoBusName()
public void setInfoBusName(java.lang.String infoBusName)
If there is an InfoBus already specified, it will first revoke all published DataItems before dropping off the bus. Next, it will reattach to the new bus and republish all available DataItems.
infoBusName - the name of the bus to use.
public void setInfoBus(javax.infobus.InfoBus ib)
throws java.beans.PropertyVetoException
setInfoBus in interface javax.infobus.InfoBusMemberjava.beans.PropertyVetoException - if the InfoBusMember refuses to join.public javax.infobus.InfoBus getInfoBus()
getInfoBus in interface javax.infobus.InfoBusMemberpublic void addInfoBusPropertyListener(java.beans.PropertyChangeListener cl)
addInfoBusPropertyListener in interface javax.infobus.InfoBusMembercl - a PropertyChangeListener.setInfoBus(javax.infobus.InfoBus ib)public void addInfoBusVetoableListener(java.beans.VetoableChangeListener vcl)
addInfoBusVetoableListener in interface javax.infobus.InfoBusMembervcl - a VetoableChangeListener.public void removeInfoBusPropertyListener(java.beans.PropertyChangeListener cl)
removeInfoBusPropertyListener in interface javax.infobus.InfoBusMembercl - the PropertyChangeListener to be removed.public void removeInfoBusVetoableListener(java.beans.VetoableChangeListener vcl)
removeInfoBusVetoableListener in interface javax.infobus.InfoBusMembervcl - the VetoableChangeListener to be removed.public static java.lang.String getURIScheme()
protected java.lang.String getName()
public java.lang.Object requested(java.lang.String objectName)
requested in interface oracle.dacf.rp.Producerpublic void released(java.lang.String objectName)
released in interface oracle.dacf.rp.Producerpublic void dataItemRequested(javax.infobus.InfoBusItemRequestedEvent e)
This method is called by the InfoBus class on behalf of a data consumer that is requesting a data item by name. Name format is: infobus:/oracle/IBItemProducer/Session/Iterator[/column]
dataItemRequested in interface javax.infobus.InfoBusDataProducere - InfoBusItemRequestedEvent sent when an DataItem is requested.public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenere - the PropertyChangeEvent carrying information regarding
what has changed.
|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.