[jboss-user] [JBoss Portal] - How to get access to JCR Repository

akranga do-not-reply at jboss.com
Thu Aug 24 11:27:43 EDT 2006


I need get content for myportal by query via Jackrabbit. So I've got a question: Is it possible to get access to JBoss Portal's java.jcr.Repository?

I only know the way to access JCRCMS class as CMS interface. 

CMS service = (CMS) this.getPortletContext().getAttribute("JCRCMS");

But unfortunately CMS interface does not contain getRepository() method.
Other solutions?

Thanks you in advance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967263#3967263

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967263



More information about the jboss-user mailing list