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 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)