Events and Event Handlers

Events and Event Handlers

The following is intended as a reference for implementing plugin event handlers to provide custom logic in response to events being fired at defined points throughout the execution cycle in both the Web Determinations Interview Engine and Web Determinations platform.

Go to:

Events

Platform events

Implementing Event Handlers

Do's and don'ts

Examples

Events

This section describes the specific engine and platform events - providing details about the objects contained by the events (accessible and modifiable by associated event handler implementations) and the mapping between the events and the event handler interfaces to be implemented by plugin classes in order to be registered as valid event handlers for the respective events.


 

 

Implementing Event Handlers

Along with the requirements placed upon plugin implementations, event handler implementations must conform to the following:

Do's and don'ts

Examples

Follow the links below to view the event handler examples contained in the Oracle Policy Automation Developer's Guide:

Interview Engine

Custom Control Validator

Custom Screen Validator

Web Determinations

Plugins - Data Adaptor - sample code (Autosave with Derby)

Example: Use the OnInterviewSessionCreatedEvent to pre-seed data into a newly created session

Interview Portlet

Example: Encode the Interview Portlet's response

Example: Extract the username in the Interview Portlet

Example: Send external events to other portlets