Liferay 6.1.2-ce-ga3

com.liferay.portal.jcr
Class JCRFactoryUtil

java.lang.Object
  extended by com.liferay.portal.jcr.JCRFactoryUtil

public class JCRFactoryUtil
extends Object


Constructor Summary
JCRFactoryUtil()
           
 
Method Summary
static void closeSession(javax.jcr.Session session)
           
static javax.jcr.Session createSession()
           
static javax.jcr.Session createSession(String workspaceName)
           
static JCRFactory getJCRFactory()
           
static void initialize()
           
static void prepare()
           
static void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRFactoryUtil

public JCRFactoryUtil()
Method Detail

closeSession

public static void closeSession(javax.jcr.Session session)

createSession

public static javax.jcr.Session createSession()
                                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

createSession

public static javax.jcr.Session createSession(String workspaceName)
                                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getJCRFactory

public static JCRFactory getJCRFactory()

initialize

public static void initialize()
                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

prepare

public static void prepare()
                    throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

shutdown

public static void shutdown()

Liferay 6.1.2-ce-ga3