org.apache.jackrabbit.spi2dav
Class Spi2davRepositoryServiceFactory

java.lang.Object
  extended by org.apache.jackrabbit.spi2dav.Spi2davRepositoryServiceFactory
All Implemented Interfaces:
RepositoryServiceFactory

public class Spi2davRepositoryServiceFactory
extends Object
implements RepositoryServiceFactory

This RepositoryServiceFactory implementation is responsible for creating RepositoryServiceImpl instances.


Field Summary
static String PARAM_ID_FACTORY
          Optional configuration parameter: It's value is expected to be an instance of IdFactory.
static String PARAM_ITEMINFO_CACHE_SIZE
          Optional configuration parameter: It's value determines the size of the ItemInfoCache cache.
static String PARAM_NAME_FACTORY
          Optional configuration parameter: It's value is expected to be an instance of NameFactory.
static String PARAM_PATH_FACTORY
          Optional configuration parameter: It's value is expected to be an instance of PathFactory.
static String PARAM_QVALUE_FACTORY
          Optional configuration parameter: It's value is expected to be an instance of QValueFactory.
static String PARAM_REPOSITORY_URI
          Mandatory configuration parameter: It's value is expected to specify the URI of the JCR server implementation.
 
Constructor Summary
Spi2davRepositoryServiceFactory()
           
 
Method Summary
 RepositoryService createRepositoryService(Map<?,?> parameters)
          Create a new RepositoryService.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_REPOSITORY_URI

public static final String PARAM_REPOSITORY_URI
Mandatory configuration parameter: It's value is expected to specify the URI of the JCR server implementation.

See Also:
JCRWebdavServerServlet, Constant Field Values

PARAM_ID_FACTORY

public static final String PARAM_ID_FACTORY
Optional configuration parameter: It's value is expected to be an instance of IdFactory. If missing IdFactoryImpl is used.

See Also:
Constant Field Values

PARAM_NAME_FACTORY

public static final String PARAM_NAME_FACTORY
Optional configuration parameter: It's value is expected to be an instance of NameFactory. If missing NameFactoryImpl is used.

See Also:
Constant Field Values

PARAM_PATH_FACTORY

public static final String PARAM_PATH_FACTORY
Optional configuration parameter: It's value is expected to be an instance of PathFactory. If missing PathFactoryImpl is used.

See Also:
Constant Field Values

PARAM_QVALUE_FACTORY

public static final String PARAM_QVALUE_FACTORY
Optional configuration parameter: It's value is expected to be an instance of QValueFactory. If missing QValueFactoryImpl is used.

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

Spi2davRepositoryServiceFactory

public Spi2davRepositoryServiceFactory()
Method Detail

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.