jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidjgonzalez <davidjgonza...@gmail.com>
Subject How to get a Repository objector jcrSession from a Java Class
Date Wed, 18 May 2011 17:45:07 GMT

How can I get either a valid SlingRepository object or JCRSession from
within a standard Java class?

This Java Class may not have access to a SlingHttpRequest object. The JCR
Session would need to be that of the admin instance.

Can someone provide a short code snippet or point me to documenation on how
to do this? 


View this message in context: http://jackrabbit.510166.n4.nabble.com/How-to-get-a-Repository-objector-jcrSession-from-a-Java-Class-tp3533401p3533401.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

View raw message