Events SPI (4.0)

The IBM Connections Event SPI allows third parties to consume event data generated by the IBM Connections features.

See:
          Description

Packages
com.ibm.connections.spi.events  
com.ibm.connections.spi.events.object  
com.ibm.connections.spi.events.object.mutable  

 

The IBM Connections Event SPI allows third parties to consume event data generated by the IBM Connections features.

By contributing Java code written to this SPI, third parties can plug into the creation, deletion and update of content within IBM Connections, and in some cases influence the creation, deletion or update of that content. There are various potential uses for the SPI, and example may include:

What are events?

Events are collections of data generated by Connections when certain activity occurs in the Connections system. Typically, events are generated for any activity that represents the creation, update or delete of content, changes in access control/membership and other such activity. Generally, read activity does not result in the generation of events. Events contain a set of standard meta-data, as well as optional data sets that may be present for certain event types. Additionally, every event can also contain arbitrary properties. In the SPI, an event is represented by the Event interface.

Event Handlers

An event handler is a third-party contributed piece of code written to this SPI. There are essentially two types of event handler:

Event handler deployment and registration

Event handlers need to be deployed to the IBM Connections system, and also registered in the events-config.xml configuration file. Details of how to deploy and register event handlers are contained in the product documentation