org.apache.jackrabbit.spi2jcr
Class Spi2jcrRepositoryServiceFactory
java.lang.Object
org.apache.jackrabbit.spi2jcr.Spi2jcrRepositoryServiceFactory
- All Implemented Interfaces:
- RepositoryServiceFactory
public class Spi2jcrRepositoryServiceFactory
- extends Object
- implements RepositoryServiceFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_REPOSITORY
public static final String PARAM_REPOSITORY
- Mandatory repository parameter: expects value to be an instance of
Repository
.
- See Also:
- Constant Field Values
PARAM_BATCH_READ_CONFIG
public static final String PARAM_BATCH_READ_CONFIG
- Optional batch read configuration parameter. If it is present the value is
expected to be an instance of
BatchReadConfig
.
- See Also:
- Constant Field Values
PARAM_ITEMINFO_CACHE_SIZE
public static final String PARAM_ITEMINFO_CACHE_SIZE
- Optional configuration parameter: It's value determines the size of the
ItemInfoCache
cache. Defaults to ItemInfoCacheImpl.DEFAULT_CACHE_SIZE
.
- See Also:
- Constant Field Values
Spi2jcrRepositoryServiceFactory
public Spi2jcrRepositoryServiceFactory()
createRepositoryService
public RepositoryService createRepositoryService(Map<?,?> parameters)
throws RepositoryException
- Description copied from interface:
RepositoryServiceFactory
- Create a new
RepositoryService
. If the factory does not understand the
passed parameters
it must return null
.
- Specified by:
createRepositoryService
in interface RepositoryServiceFactory
- Parameters:
parameters
- implementation specific set of parameters
- Returns:
- a fresh
RepositoryService
instance or null
.
- Throws:
RepositoryException
- If there was an error creating the
RepositoryService
instance
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.