|
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.util.InfoBusMemberHelper
oracle.dacf.control.DbAccessSupport
This class provides support to access a DbAccess data item.
DbAccessMonitor
,
SessionConnect
Field Summary |
Fields inherited from class oracle.dacf.util.InfoBusMemberHelper |
m_infoBus, m_propListeners, m_sourceRef, m_syncLock, m_vetoListeners |
Constructor Summary | |
DbAccessSupport()
Constructor |
Method Summary | |
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 |
dropInfoBus()
Removes this object from its currently bound InfoBus and data item. |
java.lang.Object |
getDataItem()
return the data item the object is currently bound to. |
java.lang.String |
getDataItemName()
|
java.lang.String |
getInfoBusName()
|
boolean |
isFocusValidated()
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
This method gets called when the object's InfoBus property is changed. |
void |
setDataItemName(java.lang.String dataItemName)
Sets the name of the InfoBus DataItem this object is bound to. |
void |
setFocusValidated(boolean focusValidated)
|
void |
setInfoBusName(java.lang.String infoBusName)
Sets the name of the InfoBus this transaction monitor is connected. |
Methods inherited from class oracle.dacf.util.InfoBusMemberHelper |
addInfoBusPropertyListener, addInfoBusVetoableListener, clearRef, getInfoBus, joinInfoBus, joinInfoBus, leaveInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DbAccessSupport()
Method Detail |
public void dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
dataItemAvailable
in interface javax.infobus.InfoBusDataConsumer
public void dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
dataItemRevoked
in interface javax.infobus.InfoBusDataConsumer
event
- The event.public void propertyChange(java.beans.PropertyChangeEvent event)
The object is removed as a data consumer from its previous InfoBus, and is added as a consumer to its new InfoBus.
propertyChange
in interface java.beans.PropertyChangeListener
event
- The event.public void setInfoBusName(java.lang.String infoBusName)
By default, the it is connected to the default InfoBus, named Control.DEFAULT_INFOBUS_NAME.
If the named InfoBus does not exist, it is created automatically.
infoBusName
- The name of the InfoBus to connect to.public java.lang.String getInfoBusName()
public boolean isFocusValidated()
public void setFocusValidated(boolean focusValidated)
public void setDataItemName(java.lang.String dataItemName)
The DataItem with the given name is searched for on the InfoBus, and if found, is bound to this object.
If the object is already bound to a DataItem, it is unbound first.
dataItemName
- The name of the DataItem to bind to.getDataItem()
public java.lang.String getDataItemName()
public java.lang.Object getDataItem()
public void dropInfoBus()
|
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.