Interface ResultSetSource

All Superinterfaces:
EventSource<ResultSetEvent>, Runnable
All Known Implementing Classes:
DBActivityEventSource, DBEventSource, ReadOnlyRSEventSource

@ConfigurationDescription(properties={@Property(name="Driver",defaultNull=true,description="The driver (class) name for the JDBC connection to use for the event source."),,,,,,}) public interface ResultSetSource extends EventSource<ResultSetEvent>
An event source causing an event based on the result of a select statement. This requires a database which can be provided directly via the appropriate JDBC data (driver, connection URL, username, password) or via a JDBCDataSource which needs to be configured for the event manager of this event source.
The event source fires the configured select statement and causes the event based on the returned result set.
  • Field Details

    • CONF_JDBC_DRIVER

      static final String CONF_JDBC_DRIVER
      Configuration key for the driver (class) name of the JDBC connection to use for this event source.
      See Also:
    • CONF_JDBC_CONNECTION_URL

      static final String CONF_JDBC_CONNECTION_URL
      Configuration key for the URL of the JDBC connection to use for this event source.
      See Also:
    • CONF_JDBC_USER_NAME

      static final String CONF_JDBC_USER_NAME
      Configuration key for the user name of the JDBC connection to use for this event source.
      See Also:
    • CONF_JDBC_PASSWORD

      static final String CONF_JDBC_PASSWORD
      Configuration key for the password of the JDBC connection to use for this event source.
      See Also:
    • CONF_DATA_SOURCE_NAME

      static final String CONF_DATA_SOURCE_NAME
      Configuration key for the simple instance name of the configured JDBC data source which to use for this event source.
      See Also:
    • CONF_SELECT_STATEMENT

      static final String CONF_SELECT_STATEMENT
      Configuration key for the select statement to use for this event source. This creates the result set for the event.
      See Also:
    • CONF_NOTIFY_EMPTY_ONLY

      static final String CONF_NOTIFY_EMPTY_ONLY
      Configuration key for whether the event should be caused in case the result set is empty (or the result set contains at least one entry.
      See Also: