Package org.apache.jackrabbit.core
Class RepositoryFactoryImpl
- java.lang.Object
-
- org.apache.jackrabbit.core.RepositoryFactoryImpl
-
- All Implemented Interfaces:
RepositoryFactory
,JackrabbitRepositoryFactory
public class RepositoryFactoryImpl extends Object implements JackrabbitRepositoryFactory
RepositoryFactoryImpl
implements a repository factory that creates aTransientRepository
ongetRepository(Map)
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPOSITORY_CONF
Name of the repository configuration parameter.static String
REPOSITORY_HOME
Name of the repository home parameter.
-
Constructor Summary
Constructors Constructor Description RepositoryFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Repository
getRepository(Map parameters)
RepositoryManager
getRepositoryManager(JackrabbitRepository repo)
-
-
-
Field Detail
-
REPOSITORY_HOME
public static final String REPOSITORY_HOME
Name of the repository home parameter.- See Also:
- Constant Field Values
-
REPOSITORY_CONF
public static final String REPOSITORY_CONF
Name of the repository configuration parameter.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRepository
public Repository getRepository(Map parameters) throws RepositoryException
- Specified by:
getRepository
in interfaceRepositoryFactory
- Throws:
RepositoryException
-
getRepositoryManager
public RepositoryManager getRepositoryManager(JackrabbitRepository repo) throws RepositoryException
- Specified by:
getRepositoryManager
in interfaceJackrabbitRepositoryFactory
- Throws:
RepositoryException
-
-