public class ReadOnlyRSEventSource extends DBEventSource
dataSource, eventManager, jdbcConnectionURL, jdbcDriver, jdbcPassword, jdbcUserName, notifyEmptyOnly, pollTime, selectStatement, startTimeeventType, handlerList, id, lock, logger, sourceType, thread, threadLockCONF_POLL_TIME, CONF_START_TIMECONF_DATA_SOURCE_NAME, CONF_JDBC_CONNECTION_URL, CONF_JDBC_DRIVER, CONF_JDBC_PASSWORD, CONF_JDBC_USER_NAME, CONF_NOTIFY_EMPTY_ONLY, CONF_SELECT_STATEMENT| Constructor and Description |
|---|
ReadOnlyRSEventSource(Configuration conf,
DefaultEventManager eventManager,
Registry registry)
Default constructor for a plugin of the
DefaultEventManager
called by a service registry. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForAndHandleEvent()
Checks for an event and handles it (usually by using
AbstractEventSource.forwardEvent(Event, boolean, boolean)). |
createResultSetEvent, getPollTime, getStartTime, init, nextHandler, setConfiguration, setConfiguration, terminate, verifyConfigurationValuesaddAll, addedHandlerLocked, addedHandlerLocked, addHandler, createPattern, forwardEvent, getEventHandler, getHierarchicalSourceName, getID, getType, maskedInterrupt, maskInterrupt, removeHandler, removingHandlerLocked, replaceValueParams, run, unmaskInterruptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAll, addHandler, getEventHandler, getHierarchicalSourceName, getID, getType, removeHandlerpublic ReadOnlyRSEventSource(Configuration conf, DefaultEventManager eventManager, Registry registry) throws ConfigurationException
DefaultEventManager
called by a service registry.
This just forwards to the constructor of the superclass.
conf - The configuration as provided from the registry.eventManager - The event manager this event source is a plugin of.registry - The registry of this plugin.ConfigurationException - If the configuration is not valid for a
ResultSetSource, a ConfigurationException
will be thrown.public void checkForAndHandleEvent()
AbstractEventSourceAbstractEventSource.forwardEvent(Event, boolean, boolean)).checkForAndHandleEvent in class DBEventSource