Interface DescriptorBasedDatabaseEventListener
-
- All Superinterfaces:
DatabaseEventListener
public interface DescriptorBasedDatabaseEventListener extends DatabaseEventListener
Extends EclipseLink's database event listening capabilities by allowing a listener to subscribe to to change notifications from the database This listener also expands the interface to support subscription on a descriptor basis rather than the wholesale subscription provided by its superclass.- Author:
- tware
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChangeListener(ChangeListener listener)
void
register(Session session, java.lang.String queryName)
Register for change notifications on a particular descriptorvoid
removeChangeListener(ChangeListener listener)
-
Methods inherited from interface org.eclipse.persistence.platform.database.events.DatabaseEventListener
initialize, register, remove
-
-
-
-
Method Detail
-
register
void register(Session session, java.lang.String queryName)
Register for change notifications on a particular descriptor- Parameters:
session
-queryName
-
-
addChangeListener
void addChangeListener(ChangeListener listener)
-
removeChangeListener
void removeChangeListener(ChangeListener listener)
-
-