public class Spi2davexRepositoryServiceFactory extends Object implements RepositoryServiceFactory
RepositoryServiceFactory implementation is responsible
for creating RepositoryServiceImpl instances.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_REPOSITORY_URI
Default URI for the
PARAM_REPOSITORY_URI configuration
parameter. |
static String |
PARAM_BATCHREAD_CONFIG
Optional batch read configuration parameter: If present it's value is
expected to be an instance of
BatchReadConfig |
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_REPOSITORY_URI
Mandatory configuration parameter: It's value is expected to specify the
URI of the JCR server implementation.
|
| Constructor and Description |
|---|
Spi2davexRepositoryServiceFactory() |
public static final String PARAM_REPOSITORY_URI
DEFAULT_REPOSITORY_URI is used as
fallback if no parameters or uri has been specified and the uri could not
been retrieved from system props either.JcrRemotingServlet,
Constant Field Valuespublic static final String DEFAULT_REPOSITORY_URI
PARAM_REPOSITORY_URI configuration
parameter.public static final String PARAM_BATCHREAD_CONFIG
BatchReadConfigpublic 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 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.RepositoryException - If there was an error creating the
RepositoryService instanceCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.