org.exoplatform.frameworks.jcr
Class SingleRepositorySessionFactory

java.lang.Object
  extended by 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

Field Summary
static java.lang.String SESSION_FACTORY
          Deprecated.  
 
Constructor Summary
SingleRepositorySessionFactory(ManageableRepository repository)
          Deprecated.  
SingleRepositorySessionFactory(ManageableRepository repository, javax.jcr.Credentials cred)
          Deprecated.  
 
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
 

Field Detail

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SingleRepositorySessionFactory

public SingleRepositorySessionFactory(ManageableRepository repository)
Deprecated. 

SingleRepositorySessionFactory

public SingleRepositorySessionFactory(ManageableRepository repository,
                                      javax.jcr.Credentials cred)
Deprecated. 
Method Detail

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.