The CWConnectorEventStore class is a base class to provide a Java connector with the ability to access an event store. An event store is the application's mechanism for persistently storing events. The application stores event records in the event store for events that occur in the application. The connector retrieves events from the event store and processes them for transferal to the integration broker. From this class, a connector developer must derive an event-store class and implement some of its methods for the event store.
Table 128 summarizes the methods in the CWConnectorEventStore class.
Member methods of the CWConnectorEventStore classMember method | Description | Page |
---|---|---|
CWConnectorEventStore() | Creates an event-store object | CWConnectorEventStore() |
archiveEvent() | Archives the specified event in the application's archive store with appropriate status. | archiveEvent() |
cleanupResources() | Releases resources that the poll method has used to access the event store. | cleanupResources() |
deleteEvent() | Deletes the event from the application's event store. | deleteEvent() |
fetchEvents() | Retrieves a specified number of Ready-for-Poll events from the application's event store. | fetchEvents() |
getBO() | Builds a business object based on the information in an event from the event store. | getBO() |
getNextEvent() | Retrieves the next event object from the eventsToProcess vector. | getNextEvent() |
recoverInProgressEvents() | Recovers any In-Progress events in the event store. | recoverInProgressEvents() |
resubmitArchivedEvents() | Copies the specified archived event from the application's archive store to the application's event store and changes the event status to READY_FOR_POLL. | resubmitArchivedEvents() |
setEventStatus() | Sets the status of an event in the event store. | setEventStatus() |
setEventsToProcess() | setEventsToProcess() | |
setTerminate() | Sets the internal terminate-connector flag to true. | setTerminate() |
updateEventStatus() | Updates the event status both in the application's event store and in the event. | updateEventStatus() |