org.xwiki.cache.oscache.internal
Class AbstractOSCacheCacheFactory

java.lang.Object
  extended by org.xwiki.cache.oscache.internal.AbstractOSCacheCacheFactory
All Implemented Interfaces:
CacheFactory
Direct Known Subclasses:
DefaultOSCacheCacheFactory, LocalOSCacheCacheFactory

public abstract class AbstractOSCacheCacheFactory
extends java.lang.Object
implements CacheFactory

Base implementation for OSCache support.

Since:
1.9M2
Version:
$Id$

Constructor Summary
AbstractOSCacheCacheFactory()
           
 
Method Summary
protected abstract  java.lang.String getDefaultPropsId()
           
<T> Cache<T>
newCache(CacheConfiguration configuration)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOSCacheCacheFactory

public AbstractOSCacheCacheFactory()
Method Detail

getDefaultPropsId

protected abstract java.lang.String getDefaultPropsId()
Returns:
the default configuration identifier used to load cache configuration file

newCache

public <T> Cache<T> newCache(CacheConfiguration configuration)
                  throws CacheException

Specified by:
newCache in interface CacheFactory
Throws:
CacheException
See Also:
CacheFactory.newCache(org.xwiki.cache.config.CacheConfiguration)


Copyright © 2004-2011 XWiki. All Rights Reserved.