public class Spi2davRepositoryServiceFactory extends Object implements RepositoryServiceFactory
RepositoryServiceFactory implementation is responsible
for creating RepositoryServiceImpl instances.| Modifier and Type | Field and Description |
|---|---|
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_MAX_CONNECTIONS
Optional configuration parameter: It's value defines the
maximumConnectionsPerHost value on the HttpClient configuration and
must be an int greater than zero.
|
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 and Description |
|---|
Spi2davRepositoryServiceFactory() |
public static final String PARAM_REPOSITORY_URI
public static final String PARAM_ID_FACTORY
IdFactory. If missing IdFactoryImpl is used.public static final String PARAM_NAME_FACTORY
NameFactory. If missing NameFactoryImpl is used.public static final String PARAM_PATH_FACTORY
PathFactory. If missing PathFactoryImpl is used.public static final String PARAM_QVALUE_FACTORY
QValueFactory. If missing QValueFactoryImpl is used.public static final String PARAM_ITEMINFO_CACHE_SIZE
ItemInfoCache cache. Defaults to ItemInfoCacheImpl.DEFAULT_CACHE_SIZE.public static final String PARAM_MAX_CONNECTIONS
public RepositoryService createRepositoryService(Map<?,?> parameters) throws javax.jcr.RepositoryException
RepositoryServiceFactoryRepositoryService. If the factory does not understand the
passed parameters it must return null.createRepositoryService in interface RepositoryServiceFactoryparameters - implementation specific set of parametersRepositoryService instance or null.javax.jcr.RepositoryException - If there was an error creating the
RepositoryService instanceCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.