Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener Class Reference

List of all members.

Public Member Functions

void object_changed (String curl)
void handle (DAL dal, String curl, Connectable conn)
boolean isRegistered (String curl)
void destroy ()

Private Attributes

HashMap curlMap = new HashMap()
HashMap dalMap = new HashMap()
DALChangeListener cl = null

Detailed Description

This private class will handle CDB restart or data change in the CDB.

Author:
Dragan Vitas (dragan.vitas@cosylab.com)
Version:
@VERSION@


Member Function Documentation

void abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::destroy  )  [inline]
 

Unregister this listener from DAL server(s).

void abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::handle DAL  dal,
String  curl,
Connectable  conn
[inline]
 

Add listener for curl on DAL server so the connectable object can be reconnected.

Parameters:
dal the reference of the DAL server where the curl is obtained
curl the path for our DAO object
conn the Abeans object for wich we made the DAO

boolean abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::isRegistered String  curl  )  [inline]
 

Checks if object with the given CURL is already registered to this listener.

Parameters:
curl the path for our DAO object

void abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::object_changed String  curl  )  [inline]
 

Called from DAL server when curl changed or when DAL startups. NOTE: reconnection does not work if DAL is running on Java (Sun) CORBA - server problem (DAL reference!)

Parameters:
curl changed entity in CDB
See also:
DALChangeListenerOperations#object_changed(String)


Member Data Documentation

DALChangeListener abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::cl = null [private]
 

CORBA instance of DALChangeListener object.

HashMap abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::curlMap = new HashMap() [private]
 

Map of monitored CURLs entities.

HashMap abeans::pluggable::acs::cdb::dal::CDBDALPlug::ChangeListener::dalMap = new HashMap() [private]
 

Map of registered listeners on DALs.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:43:18 2009 for ACS Java API by doxygen 1.3.8