org.apache.jackrabbit.jcr2spi.config
Interface RepositoryConfig


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's Repository itself referenceable.


Method Summary
 CacheBehaviour getCacheBehaviour()
           
 int getItemCacheSize()
           
 int getPollTimeout()
          Specifies an interval used for polling the RepositoryService 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 the RepositoryService for changes.

Returns:
the poll timeout in milliseconds.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.