|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.spi2davex.Spi2davexRepositoryServiceFactory
public class Spi2davexRepositoryServiceFactory
This RepositoryServiceFactory
implementation is responsible
for creating RepositoryServiceImpl
instances.
Field Summary | |
---|---|
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_REPOSITORY_URI
Mandatory configuration parameter: It's value is expected to specify the URI of the JCR server implementation. |
Constructor Summary | |
---|---|
Spi2davexRepositoryServiceFactory()
|
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 |
---|
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 String DEFAULT_REPOSITORY_URI
PARAM_REPOSITORY_URI
configuration
parameter.
public static final String PARAM_BATCHREAD_CONFIG
BatchReadConfig
public static final String PARAM_ITEMINFO_CACHE_SIZE
ItemInfoCache
cache. Defaults to ItemInfoCacheImpl.DEFAULT_CACHE_SIZE
.
Constructor Detail |
---|
public Spi2davexRepositoryServiceFactory()
Method Detail |
---|
public RepositoryService createRepositoryService(Map<?,?> parameters) throws RepositoryException
RepositoryServiceFactory
RepositoryService
. If the factory does not understand the
passed parameters
it must return null
.
createRepositoryService
in interface RepositoryServiceFactory
parameters
- implementation specific set of parameters
RepositoryService
instance or null
.
RepositoryException
- If there was an error creating the
RepositoryService
instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |