net.agmodel.utilBean
Class DataSourceEvent
java.lang.Object
|
+--java.util.EventObject
|
+--net.agmodel.utilBean.ServiceBeanEvent
|
+--net.agmodel.utilBean.ServerBeanEvent
|
+--net.agmodel.utilBean.DataSourceEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ChizuSourceEvent, DEMSourceEvent, MetSourceEvent
- public class DataSourceEvent
- extends ServerBeanEvent
Contains details of the currently selected data source, and provides a connection to the broker.
- See Also:
- Serialized Form
dataSource
protected DataSourceDetail dataSource
DataSourceEvent
public DataSourceEvent(Object source,
GenericBrokerRMI newBroker,
String newSessionID,
DataSourceDetail newSource)
- Create a new event corresponding to an RMI connection to the broker.
- Parameters:
source - the originator of the eventnewBroker - a remote reference to the brokernewSessionID - a unique identifier assigned by the broker to this connectionnewSource - details of the currently selected data source
DataSourceEvent
public DataSourceEvent(Object source,
GenericBrokerHTTP newBroker,
String newSessionID,
DataSourceDetail newSource)
- Create a new event corresponding to an HTTP connection to the broker.
- Parameters:
source - the originator of the eventnewSessionID - a unique identifier assigned by the broker to this connectionnewSource - details of the currently selected data source
getDataSourceDetail
public DataSourceDetail getDataSourceDetail()
- Gets details of the currently selected data source.