com.liferay.portal.jcr.jackrabbit
Class JCRFactoryImpl

java.lang.Object
  extended by com.liferay.portal.jcr.jackrabbit.JCRFactoryImpl
All Implemented Interfaces:
JCRFactory

public class JCRFactoryImpl
extends java.lang.Object
implements JCRFactory

View Source

Author:
Michael Young

Field Summary
static java.lang.String CONFIG_FILE_PATH
           
static char[] CREDENTIALS_PASSWORD
           
static java.lang.String CREDENTIALS_USERNAME
           
static java.lang.String REPOSITORY_HOME
           
static java.lang.String REPOSITORY_ROOT
           
 
Fields inherited from interface com.liferay.portal.jcr.JCRFactory
NODE_DOCUMENTLIBRARY, WORKSPACE_NAME
 
Constructor Summary
protected JCRFactoryImpl()
           
 
Method Summary
 javax.jcr.Session createSession(java.lang.String workspaceName)
           
 void initialize()
           
 void prepare()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_ROOT

public static final java.lang.String REPOSITORY_ROOT

CONFIG_FILE_PATH

public static final java.lang.String CONFIG_FILE_PATH

REPOSITORY_HOME

public static final java.lang.String REPOSITORY_HOME

CREDENTIALS_USERNAME

public static final java.lang.String CREDENTIALS_USERNAME

CREDENTIALS_PASSWORD

public static final char[] CREDENTIALS_PASSWORD
Constructor Detail

JCRFactoryImpl

protected JCRFactoryImpl()
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

createSession

public javax.jcr.Session createSession(java.lang.String workspaceName)
                                throws javax.jcr.RepositoryException
Specified by:
createSession in interface JCRFactory
Throws:
javax.jcr.RepositoryException

initialize

public void initialize()
                throws javax.jcr.RepositoryException
Specified by:
initialize in interface JCRFactory
Throws:
javax.jcr.RepositoryException

prepare

public void prepare()
             throws javax.jcr.RepositoryException
Specified by:
prepare in interface JCRFactory
Throws:
javax.jcr.RepositoryException

shutdown

public void shutdown()
              throws javax.jcr.RepositoryException
Specified by:
shutdown in interface JCRFactory
Throws:
javax.jcr.RepositoryException