Package com.ibm.ima.plugin

Implements a set of interfaces defining the Java plug-in mechanism for IBM MessageSight. These interfaces combined with developer implementations of two listener interfaces allow you to extend protocol support in IBM MessageSight beyond the natively supported protocols.

A Java plug-in can be used to implement any combination of the following:

  • Define one or more protocols to accept from a TCP, UDP, or WebSockets connection
  • Send messages to the MessageSight server and set up subscriptions which receive messages from a MessageSight server.
  • Authenticate a connection
  • Run JavaSE code constrained by a security manager.

These functions can be combined together to easily define a messaging bridge or to map from vendor or industry specific protocols.

This package primarily contains interfaces. A Java plug-in to IBM MessageSight defines a class implementing ImaPluginListener which is instantiated by IBM MessageSight. The initialize() method is invoked passing in the ImaPlugin object. The IBM MessageSight server communicates with the plug-in by calling methods in ImaPluginListener and the plug-in invokes methods in the ImaPlugin object to communicate with IBM MessageSight. Additionally, to enable client connections, a Java plug-in to IBM MessageSight defines a class implementing ImaConnectionListener. The callback methods implemented for the ImaConnectionListener interface permit clients using the plug-in protocol to send messages to and receive messages from IBM MessageSight via the target protocol.