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 aJDBCDataSource
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
Fields Modifier and Type Field Description static 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.static String
CONF_JDBC_CONNECTION_URL
Configuration key for the URL of the JDBC connection to use for this event source.static String
CONF_JDBC_DRIVER
Configuration key for the driver (class) name of the JDBC connection to use for this event source.static String
CONF_JDBC_PASSWORD
Configuration key for the password of the JDBC connection to use for this event source.static String
CONF_JDBC_USER_NAME
Configuration key for the user name of the JDBC connection to use for this event source.static 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.static String
CONF_SELECT_STATEMENT
Configuration 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 Detail
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-