org.apache.jackrabbit.jcr2spi
Class Jcr2spiRepositoryFactory.RepositoryConfigImpl

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory.RepositoryConfigImpl
All Implemented Interfaces:
RepositoryConfig
Enclosing class:
Jcr2spiRepositoryFactory

public static class Jcr2spiRepositoryFactory.RepositoryConfigImpl
extends Object
implements RepositoryConfig


Constructor Summary
Jcr2spiRepositoryFactory.RepositoryConfigImpl(RepositoryServiceFactory serviceFactory, Map<?,?> parameters)
           
 
Method Summary
 CacheBehaviour getCacheBehaviour()
           
 int getItemCacheSize()
           
 int getPollTimeout()
          Specifies an interval used for polling the RepositoryService for changes.
 RepositoryService getRepositoryService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jcr2spiRepositoryFactory.RepositoryConfigImpl

public Jcr2spiRepositoryFactory.RepositoryConfigImpl(RepositoryServiceFactory serviceFactory,
                                                     Map<?,?> parameters)
                                              throws RepositoryException
Throws:
RepositoryException
Method Detail

getCacheBehaviour

public CacheBehaviour getCacheBehaviour()
Specified by:
getCacheBehaviour in interface RepositoryConfig

getItemCacheSize

public int getItemCacheSize()
Specified by:
getItemCacheSize in interface RepositoryConfig

getPollTimeout

public int getPollTimeout()
Description copied from interface: RepositoryConfig
Specifies an interval used for polling the RepositoryService for changes.

Specified by:
getPollTimeout in interface RepositoryConfig
Returns:
the poll timeout in milliseconds.

getRepositoryService

public RepositoryService getRepositoryService()
                                       throws RepositoryException
Specified by:
getRepositoryService in interface RepositoryConfig
Throws:
RepositoryException


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