jpa.p1.pub
Class Publisher

java.lang.Object
  |
  +--jpa.p1.pub.Publisher

public class Publisher
extends java.lang.Object

This is the main class in the JPA PlatformOne Publishing package, which is used for subscribing to PlatformOne data. All the other classes are accessed through this one.

The JPA PlatformOne Publishing package, jpa.p1.pub, is implemented as a hierarchical set of pairs of classes and interfaces.

There are five fundamental levels of class in this package:

For each of these levels (with the exception of PubRecord), there is one class that is implemented by the package (Pubxxx) itself and an interface that can be implemented by the application (PubxxxEvent). The latter interface us used to receive asynchronous events from the package. An application always starts by instantiating a Publisher object, passing it in a reference to an application object that implements the PublisherEvent interface. From this point on, the order of instantiation is dependent on the nature of the application.

There are also a couple of classes that are used to access other aspects of the incoming data. These are as follows: