public interface SessionFactory
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Session |
getSession()
Returns a JCR Session using the credentials and workspace on this JcrSessionFactory.
|
SessionHolder |
getSessionHolder(javax.jcr.Session session) |
javax.jcr.Session getSession()
throws javax.jcr.RepositoryException
" Each Session object is associated one-to-one with a Workspace object. The Workspace object represents a `view` of an actual repository workspace entity as seen through the authorization settings of its associated Session." (quote from javax.jcr.Session javadoc).
javax.jcr.RepositoryExceptionSessionHolder getSessionHolder(@NotNull javax.jcr.Session session)
Copyright © 2021. All rights reserved.