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 |
---|---|
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 Repository getRepository(Map parameters) throws RepositoryException
getRepository
in interface RepositoryFactory
RepositoryException
public RepositoryManager getRepositoryManager(JackrabbitRepository repo) throws RepositoryException
JackrabbitRepositoryFactory
getRepositoryManager
in interface JackrabbitRepositoryFactory
repo
- the repository to manageRepositoryException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.