jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <Felix.Meschber...@day.com>
Subject ObservationManager for JCR-RMI
Date Tue, 21 Jun 2005 08:18:12 GMT
Hi Jukka,

As I had a requirement for getting observation Events to the RMI-Client, 
I created an extension to the RMI implementation which uses a mechanism 
similar to the JMX Remote (JSR 160) notification dispatching to dispatch 
events.

Included in the path are the following classes:
    ClientAdapterFactory - extended for ClientObservationManager
    ClientObservationManager - Client-Side ObservationManager implementation
    ClientSession - modified to always return the same ClientWorkspace 
instance
    ClientWorkspace - extended for ClientObservationManager
    LocalAdapterFactory - extended for ClientObservationManager
    ArrayEventIterator - added to create the EventIterator for event 
dispatching
    ArrayEventListenerIterator - added to return the event listeners 
from ClientObservationManager
    ClientEventPoll - Client-side listener registration and event 
dispatching
    ServerEventListenerProxy - Server-side event listener proxy for 
client-side event listeners
    RemoteEventCollection - Added to send events from server to client, 
contains RemoteEvent
    RemoteObservationManager - Remote ObservationManager interface
    RemoteWorkspace - extended for RemoteObservationManager
    RemoteAdapterFactory - extended for RemoteObservationManager
    ServerAdapterFactory - extended for RemoteObservationManager
    ServerEventCollection - Server-side implementation of 
RemoteEventCollection
    ServerObservationManager - Server-side implementation of 
RemoteObservationManager
    ServerSession - modified to always return the same ServerWorkspace 
instance
    ServerWorkspace - extended for ServerObservationManager

The patch enclosed has been created with TortoiseSVN on the 
contrb/jcr-rmi directory.

Regards
Felix

Mime
View raw message