org.apache.jackrabbit.core
Class RepositoryFactoryImpl

java.lang.Object
  extended by org.apache.jackrabbit.core.RepositoryFactoryImpl
All Implemented Interfaces:
RepositoryFactory, org.apache.jackrabbit.api.JackrabbitRepositoryFactory

public class RepositoryFactoryImpl
extends Object
implements org.apache.jackrabbit.api.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)
           
 org.apache.jackrabbit.api.management.RepositoryManager getRepositoryManager(org.apache.jackrabbit.api.JackrabbitRepository repo)
           
 
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 org.apache.jackrabbit.api.management.RepositoryManager getRepositoryManager(org.apache.jackrabbit.api.JackrabbitRepository repo)
                                                                            throws RepositoryException
Specified by:
getRepositoryManager in interface org.apache.jackrabbit.api.JackrabbitRepositoryFactory
Throws:
RepositoryException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.