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.
