jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: SystemSession question
Date Tue, 28 Aug 2007 09:16:16 GMT
Esteban Franqueiro wrote:
> Hi all.
> We want our component to be notified of every property event, and we
> were thinking about using the system sessions to connect the listeners.
> The idea is to install the listeners on repository startup, with the
> system sessions so that we don't miss any possible event.
> Is there any significant performace issue related to using them in such
> a way?

no, there is no performance impact. event listeners are informed using a 
background thread.

> Is it advisable? Is there a better way?

I would rather use a regular session, which has read access to the whole 
repository. The system session is jackrabbit internal and should not be used 
unless there is a very good reason.


View raw message