org.apache.jackrabbit.core
Class RepositoryFactoryImpl

java.lang.Object
  extended by 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).


Field Summary
static String REPOSITORY_CONF
          Name of the repository configuration parameter.
static String REPOSITORY_HOME
          Name of the repository home parameter.
 
Constructor Summary
RepositoryFactoryImpl()
           
 
Method Summary
 Repository getRepository(Map parameters)
           
 RepositoryManager getRepositoryManager(JackrabbitRepository repo)
          Get the repository management component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

RepositoryFactoryImpl

public RepositoryFactoryImpl()
Method Detail

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.