A Java Callback service event type includes a Java code component that is an extension of the ServiceEvent Agentry Java API class. Included in this class must be a method into which the source back end system can the Agentry Server as a notification of a modification to that back end system’s data. this class is instantiated when the service event is loaded by the Server during startup. The information passed to this method must include the key property of the service event’s defined object type. When a message is received by this class that includes the service event’s target object’s key property the read steps, data state steps, and update steps will be processed by the Agentry Server to update the destination back end system.
The Java code component of this service event type is initially created as a skeleton class. The developer must then implement the methods for this class to process the message received from the source back end system. It may include additional methods for processing the message once received, but only one method within the class can be called by the source back end. Data captured from the source back end must then be passed from this class to the Agentry Server using the standards within the Agentry Java API.