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 a TransientRepository
on getRepository(Map)
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RepositoryFactoryImpl
public RepositoryFactoryImpl()
getRepository
public Repository getRepository(Map parameters)
throws RepositoryException
- Specified by:
getRepository
in interface RepositoryFactory
- Throws:
RepositoryException
getRepositoryManager
public RepositoryManager getRepositoryManager(JackrabbitRepository repo)
throws RepositoryException
- Description copied from interface:
JackrabbitRepositoryFactory
- Get the repository management component. Only the factory that created
the given repository may retrieve the manager.
- Specified by:
getRepositoryManager
in interface JackrabbitRepositoryFactory
- Parameters:
repo
- the repository to manage
- Returns:
- the manager
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.