Interface RepositoryConfig
-
- All Known Implementing Classes:
Jcr2spiRepositoryFactory.RepositoryConfigImpl
public interface RepositoryConfig
This class bundles the information required by JCR2SPI to bootstrap an SPI implementation.Instances of this class should implement
Referenceable
in order to make JCR2SPI'sRepository
itself referenceable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheBehaviour
getCacheBehaviour()
<T> T
getConfiguration(String name, T defaultValue)
int
getItemCacheSize()
int
getPollTimeout()
Specifies an interval used for polling theRepositoryService
for changes.RepositoryService
getRepositoryService()
-
-
-
Method Detail
-
getRepositoryService
RepositoryService getRepositoryService() throws RepositoryException
- Throws:
RepositoryException
-
getCacheBehaviour
CacheBehaviour getCacheBehaviour()
-
getItemCacheSize
int getItemCacheSize()
-
getPollTimeout
int getPollTimeout()
Specifies an interval used for polling theRepositoryService
for changes.- Returns:
- the poll timeout in milliseconds.
-
getConfiguration
<T> T getConfiguration(String name, T defaultValue)
-
-