org.exoplatform.frameworks.jcr
Interface JCRAppSessionFactory

All Known Implementing Classes:
SingleRepositorySessionFactory

Deprecated. use SessionProvider related mechanism instead

public interface JCRAppSessionFactory

Created by The eXo Platform SAS .
Provides JCR Session for client program. Usually it is per client thread object Session creates with Repository.login(..) method and then can be stored in some cache if neccessary.

Version:
$Id: JCRAppSessionFactory.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.  
 

Method Detail

getSession

javax.jcr.Session getSession(java.lang.String workspaceName)
                             throws javax.jcr.LoginException,
                                    javax.jcr.NoSuchWorkspaceException,
                                    javax.jcr.RepositoryException
Deprecated. 
Parameters:
workspaceName -
Returns:
JCR Session object
Throws:
javax.jcr.LoginException
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException

close

void close()
Deprecated. 


Copyright © 2010 eXo Platform SAS. All Rights Reserved.