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
The event source fires the configured select statement and causes the event based on the returned result set.
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConfiguration key for the simple instance name of the configured JDBC data source which to use for this event source.static final StringConfiguration key for the URL of the JDBC connection to use for this event source.static final StringConfiguration key for the driver (class) name of the JDBC connection to use for this event source.static final StringConfiguration key for the password of the JDBC connection to use for this event source.static final StringConfiguration key for the user name of the JDBC connection to use for this event source.static final StringConfiguration key for whether the event should be caused in case the result set is empty (or the result set contains at least one entry.static final StringConfiguration key for the select statement to use for this event source. -
Method Summary
Methods inherited from interface de.aristaflow.adept2.model.events.sources.EventSource
addAll, addHandler, getEventHandler, getHierarchicalSourceName, getID, getType, removeHandler, setConfiguration
-
Field Details
-
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
Configuration key for the URL of the JDBC connection to use for this event source.- See Also:
-
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
Configuration key for the password of the JDBC connection to use for this event source.- See Also:
-
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
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
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:
-