Package org.apache.jackrabbit.spi2dav
Class Spi2davRepositoryServiceFactory
- java.lang.Object
- 
- org.apache.jackrabbit.spi2dav.Spi2davRepositoryServiceFactory
 
- 
- All Implemented Interfaces:
- RepositoryServiceFactory
 
 public class Spi2davRepositoryServiceFactory extends Object implements RepositoryServiceFactory ThisRepositoryServiceFactoryimplementation is responsible for creatingRepositoryServiceImplinstances which communicate via WebDAV. All parameter keys defined in this class and in addition the ones fromConnectionOptionsare supported as arguments forcreateRepositoryService(Map).
- 
- 
Field SummaryFields Modifier and Type Field Description static StringPARAM_ID_FACTORYOptional configuration parameter: It's value is expected to be an instance ofIdFactory.static StringPARAM_ITEMINFO_CACHE_SIZEOptional configuration parameter: It's value determines the size of theItemInfoCachecache.static StringPARAM_MAX_CONNECTIONSOptional configuration parameter: It's value defines the maximumConnectionsPerHost value on the HttpClient configuration and must be an int greater than zero.static StringPARAM_NAME_FACTORYOptional configuration parameter: It's value is expected to be an instance ofNameFactory.static StringPARAM_PATH_FACTORYOptional configuration parameter: It's value is expected to be an instance ofPathFactory.static StringPARAM_QVALUE_FACTORYOptional configuration parameter: It's value is expected to be an instance ofQValueFactory.static StringPARAM_REPOSITORY_URIMandatory configuration parameter: It's value is expected to specify the URI of the JCR server implementation.
 - 
Constructor SummaryConstructors Constructor Description Spi2davRepositoryServiceFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryServicecreateRepositoryService(Map<?,?> parameters)Create a newRepositoryService.
 
- 
- 
- 
Field Detail- 
PARAM_REPOSITORY_URIpublic 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:
- Constant Field Values
 
 - 
PARAM_ID_FACTORYpublic static final String PARAM_ID_FACTORY Optional configuration parameter: It's value is expected to be an instance ofIdFactory. If missingIdFactoryImplis used.- See Also:
- Constant Field Values
 
 - 
PARAM_NAME_FACTORYpublic static final String PARAM_NAME_FACTORY Optional configuration parameter: It's value is expected to be an instance ofNameFactory. If missingNameFactoryImplis used.- See Also:
- Constant Field Values
 
 - 
PARAM_PATH_FACTORYpublic static final String PARAM_PATH_FACTORY Optional configuration parameter: It's value is expected to be an instance ofPathFactory. If missingPathFactoryImplis used.- See Also:
- Constant Field Values
 
 - 
PARAM_QVALUE_FACTORYpublic static final String PARAM_QVALUE_FACTORY Optional configuration parameter: It's value is expected to be an instance ofQValueFactory. If missingQValueFactoryImplis used.- See Also:
- Constant Field Values
 
 - 
PARAM_ITEMINFO_CACHE_SIZEpublic static final String PARAM_ITEMINFO_CACHE_SIZE Optional configuration parameter: It's value determines the size of theItemInfoCachecache. Defaults toItemInfoCacheImpl.DEFAULT_CACHE_SIZE.- See Also:
- Constant Field Values
 
 - 
PARAM_MAX_CONNECTIONSpublic static final 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. Rather useConnectionOptions.PARAM_MAX_CONNECTIONSinstead.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createRepositoryServicepublic RepositoryService createRepositoryService(Map<?,?> parameters) throws RepositoryException Description copied from interface:RepositoryServiceFactoryCreate a newRepositoryService. If the factory does not understand the passedparametersit must returnnull.- Specified by:
- createRepositoryServicein interface- RepositoryServiceFactory
- Parameters:
- parameters- implementation specific set of parameters
- Returns:
- a fresh RepositoryServiceinstance ornull.
- Throws:
- RepositoryException- If there was an error creating the- RepositoryServiceinstance
 
 
- 
 
-