jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Tagliani <l.tagli...@prismaeng.it>
Subject Re: Accessing repository from custom EventListener
Date Wed, 30 May 2007 10:04:09 GMT

Ok, I answered to myself...
I can just pass the session to the constructor of my EventListener and use
it during event processing.
BR
Luca Tagliani


Luca Tagliani wrote:
> 
> Hi all,
>  does anyone knows if it's possible (and how) to access the repository
> from a registered EventListener?
> I need to access the node which triggered the event and read its
> properties for sending an email (for example).
> I thought about creating a systemSession associated to the EventListener,
> but perhaps it's not the best solution.
> 
> Any comment or suggestion would be appreciated.
> 
> Thanks
> 
> Luca Tagliani
> 

-- 
View this message in context: http://www.nabble.com/Accessing-repository-from-custom-EventListener-tf3839360.html#a10870722
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message