Oracle Data-aware Controls Reference

oracle.dacf.control.swing
Class SessionConnect

java.lang.Object
  |
  +--oracle.dacf.util.InfoBusMemberHelper
        |
        +--oracle.dacf.control.DbAccessSupport
              |
              +--oracle.dacf.control.swing.SessionConnect
All Implemented Interfaces:
java.util.EventListener, javax.infobus.InfoBusDataConsumer, javax.infobus.InfoBusEventListener, javax.infobus.InfoBusMember, java.beans.PropertyChangeListener

public class SessionConnect
extends DbAccessSupport

DbAccess aware object which automatically does a 'connect'. This object subscribes and waits for a DbAccess item to be available on the InfoBus and does a 'connect' when available.

Version:
SDK
See Also:
LoginDlg, DbAccessSupport

Fields inherited from class oracle.dacf.util.InfoBusMemberHelper
m_infoBus, m_propListeners, m_sourceRef, m_syncLock, m_vetoListeners
 
Constructor Summary
SessionConnect(java.lang.String dataItemName, java.lang.String user, java.lang.String password, java.lang.String connectString)
          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.
 
Methods inherited from class oracle.dacf.control.DbAccessSupport
dataItemRevoked, dropInfoBus, getDataItem, getDataItemName, getInfoBusName, isFocusValidated, propertyChange, setDataItemName, setFocusValidated, setInfoBusName
 
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

SessionConnect

public SessionConnect(java.lang.String dataItemName,
                      java.lang.String user,
                      java.lang.String password,
                      java.lang.String connectString)
Constructor
Parameters:
dataItemnName - name of the session to connect to
user - user name
password - password
connectString - connect string
Method Detail

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 DbAccessSupport

Oracle Data-aware Controls Reference