Hi Carl,

On Wed, Apr 22, 2009 at 4:26 PM, Carl Hall <[email protected]> wrote:
> I've searched through docs but have yet to discover this though I'm
> probably just overlooking something.  What's the suggested way to
> access data in a jcr repository when not coming from a user related
> request (ie. when in an event listener)?  Also, how do I get hold of
> the observation manager to register my listener?

In addition to Alex's explanations, you might want to have a look at
the espblog sample [1], where the ThumbnailGeneratorServiceImpl uses a
JCR listener to detect added images, generates thumbnails and stores
those in the repository.

-Bertrand

[1]  http://svn.apache.org/repos/asf/incubator/sling/trunk/samples/espblog

Reply via email to