org.exoplatform.frameworks.jcr
Class SingleRepositorySessionFactory
java.lang.Object
org.exoplatform.frameworks.jcr.SingleRepositorySessionFactory
- All Implemented Interfaces:
- JCRAppSessionFactory
Deprecated. use SessionProvider related mechanism instead
public class SingleRepositorySessionFactory
- extends java.lang.Object
- implements JCRAppSessionFactory
Created by The eXo Platform SAS .
- Version:
- $Id: SingleRepositorySessionFactory.java 35179 2009-08-07 13:58:20Z pnedonosko $
- Author:
- Gennady Azarenkov
|
Method Summary |
void |
close()
Deprecated. |
javax.jcr.Session |
getSession(java.lang.String workspaceName)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- Deprecated.
- See Also:
- Constant Field Values
SingleRepositorySessionFactory
public SingleRepositorySessionFactory(ManageableRepository repository)
- Deprecated.
SingleRepositorySessionFactory
public SingleRepositorySessionFactory(ManageableRepository repository,
javax.jcr.Credentials cred)
- Deprecated.
getSession
public javax.jcr.Session getSession(java.lang.String workspaceName)
throws javax.jcr.LoginException,
javax.jcr.NoSuchWorkspaceException,
javax.jcr.RepositoryException
- Deprecated.
- Specified by:
getSession in interface JCRAppSessionFactory
- Returns:
- JCR Session object
- Throws:
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException
close
public void close()
- Deprecated.
- Specified by:
close in interface JCRAppSessionFactory
Copyright © 2010 eXo Platform SAS. All Rights Reserved.