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