it.eng.spago.cms.sessionfactoryimpl
Class JackrabbitJNDIImpl
java.lang.Object
it.eng.spago.cms.sessionfactoryimpl.JackrabbitJNDIImpl
- All Implemented Interfaces:
- it.eng.spago.cms.ISessionFactory
- public class JackrabbitJNDIImpl
- extends java.lang.Object
- implements it.eng.spago.cms.ISessionFactory
Implements logic for creation of a Jackrabbit repository
and for the creation of JSR Session objects.
Constructor Summary |
JackrabbitJNDIImpl()
Construct of the class: build the Jackrabbit repository using the parameter
values contained into a properties file |
Method Summary |
it.eng.javax.jcr.Session |
getSession(java.lang.String user,
java.lang.String password,
java.lang.String workspace)
Create and return a JCR Session object ot the repository |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JackrabbitJNDIImpl
public JackrabbitJNDIImpl()
- Construct of the class: build the Jackrabbit repository using the parameter
values contained into a properties file
getSession
public it.eng.javax.jcr.Session getSession(java.lang.String user,
java.lang.String password,
java.lang.String workspace)
- Create and return a JCR Session object ot the repository
- Specified by:
getSession
in interface it.eng.spago.cms.ISessionFactory