public class JCRFactoryImpl extends java.lang.Object implements JCRFactory
| Modifier and Type | Field and Description |
|---|---|
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 |
NODE_DOCUMENTLIBRARY, WORKSPACE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
JCRFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Session |
createSession(java.lang.String workspaceName) |
void |
initialize() |
void |
prepare() |
void |
shutdown() |
public static final java.lang.String CONFIG_FILE_PATH
public static final char[] CREDENTIALS_PASSWORD
public static final java.lang.String CREDENTIALS_USERNAME
public static final java.lang.String REPOSITORY_HOME
public static final java.lang.String REPOSITORY_ROOT
protected JCRFactoryImpl()
throws java.lang.Exception
java.lang.Exceptionpublic javax.jcr.Session createSession(java.lang.String workspaceName)
throws javax.jcr.RepositoryException
createSession in interface JCRFactoryjavax.jcr.RepositoryExceptionpublic void initialize()
throws javax.jcr.RepositoryException
initialize in interface JCRFactoryjavax.jcr.RepositoryExceptionpublic void prepare()
throws javax.jcr.RepositoryException
prepare in interface JCRFactoryjavax.jcr.RepositoryExceptionpublic void shutdown()
shutdown in interface JCRFactory