public class Spi2jcrRepositoryServiceFactory extends Object implements RepositoryServiceFactory
| Modifier and Type | Field and Description | 
|---|---|
static String | 
PARAM_BATCH_READ_CONFIG
Optional batch read configuration parameter. 
 | 
static String | 
PARAM_ITEMINFO_CACHE_SIZE
Optional configuration parameter: It's value determines the size of the
  
ItemInfoCache cache. | 
static String | 
PARAM_REPOSITORY
Mandatory repository parameter: expects value to be an instance of  
Repository. | 
| Constructor and Description | 
|---|
Spi2jcrRepositoryServiceFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
RepositoryService | 
createRepositoryService(Map<?,?> parameters)
Create a new  
RepositoryService. | 
public static final String PARAM_REPOSITORY
Repository.public static final String PARAM_BATCH_READ_CONFIG
BatchReadConfig.public static final String PARAM_ITEMINFO_CACHE_SIZE
ItemInfoCache cache. Defaults to ItemInfoCacheImpl.DEFAULT_CACHE_SIZE.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–2021 The Apache Software Foundation. All rights reserved.