org.xwiki.cache.jbosscache.internal
Class AbstractJBossCacheCacheFactory

java.lang.Object
  extended by org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory
All Implemented Interfaces:
CacheFactory
Direct Known Subclasses:
DefaultJBossCacheCacheFactory, LocalJBossCacheCacheFactory

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

Base implementation for JBoss Cache support.

Since:
1.9M2
Version:
$Id$

Constructor Summary
AbstractJBossCacheCacheFactory()
           
 
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

AbstractJBossCacheCacheFactory

public AbstractJBossCacheCacheFactory()
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.