com.intersys.objects
Interface CacheServerSensitive
- All Superinterfaces:
- EventListener
- public interface CacheServerSensitive
- extends EventListener
Method Summary |
void |
onDatabaseDestroy()
This method is invoked when Database, with which this object is
registered is destroyed. |
boolean |
onServerCall(Set changedObjects)
This method is invoked by Database if a call to cache Server
is made which can change data in database. |
onServerCall
public boolean onServerCall(Set changedObjects)
throws CacheException
- This method is invoked by Database if a call to cache Server
is made which can change data in database.
- Parameters:
changedObjects
- If this object was registered to be
notified only if some particular proxy objects has changed,
then the set contains changed proxy objects in which it was
interested. Otherwise the set contains Integer
objects, corresponding to all changed object references.
- Returns:
true
if object wants to be notified in
future, false
if object wants to be unregistered.
- Throws:
CacheException
onDatabaseDestroy
public void onDatabaseDestroy()
throws CacheException
- This method is invoked when Database, with which this object is
registered is destroyed.
- Throws:
CacheException