Package org.apache.jackrabbit.rmi.observation

Helper class used by the observation manager classes.

See:
          Description

Class Summary
ClientEventPoll The ClientEventPoll class is the registry for client-side event listeners on behalf of the ClientObservationManager class.
Queue The Queue class is a very simple queue assuming that there is at least one consumer and potentially multiple producers.
ServerEventListenerProxy The ServerEventListenerProxy class is the server-side event listener proxy registered on behalf of a client-side event listener identified with the unique identifier.
 

Package org.apache.jackrabbit.rmi.observation Description

Helper class used by the observation manager classes.

The JCR observation framework defines a notification mechanism where an EventListener is registered with the observation manager to receive certain events during the lifetime of the registration. For the remote case, where the repository and the application run in different Java VMs on possibly different hosts, there are issues related to the observation framework.

The listener mechanism is a call-back mechanism where the server calls code in the client application. The client application code most probably hooks into other parts of that application. Therefore it is not practically feasible to just require the client listener to be serializable to be sent to the server for several reasons: