com.liferay.portal.jcr
Class JCRFactoryUtil

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

public class JCRFactoryUtil
extends java.lang.Object

View Source

Author:
Michael Young

Constructor Summary
JCRFactoryUtil()
           
 
Method Summary
static javax.jcr.Session createSession()
           
static javax.jcr.Session createSession(java.lang.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

getJCRFactory

public static JCRFactory getJCRFactory()

createSession

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

createSession

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

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()
                     throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException