public class RepositoryFactoryImpl extends Object implements JackrabbitRepositoryFactory
RepositoryFactoryImpl
implements a repository factory that
creates a TransientRepository
on getRepository(Map)
.Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_CONF
Name of the repository configuration parameter.
|
static String |
REPOSITORY_HOME
Name of the repository home parameter.
|
Constructor and Description |
---|
RepositoryFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Repository |
getRepository(Map parameters) |
RepositoryManager |
getRepositoryManager(JackrabbitRepository repo)
Get the repository management component.
|
public static final String REPOSITORY_HOME
public static final String REPOSITORY_CONF
public javax.jcr.Repository getRepository(Map parameters) throws javax.jcr.RepositoryException
getRepository
in interface javax.jcr.RepositoryFactory
javax.jcr.RepositoryException
public RepositoryManager getRepositoryManager(JackrabbitRepository repo) throws javax.jcr.RepositoryException
JackrabbitRepositoryFactory
getRepositoryManager
in interface JackrabbitRepositoryFactory
repo
- the repository to managejavax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.