com.flexive.shared.cache.impl
Class FxJBossExternalCacheProvider

java.lang.Object
  extended by com.flexive.shared.cache.impl.AbstractBackingCacheProvider<FxJBossTreeCacheMBeanWrapper>
      extended by com.flexive.shared.cache.impl.FxJBossExternalCacheProvider
All Implemented Interfaces:
FxBackingCacheProvider

public class FxJBossExternalCacheProvider
extends AbstractBackingCacheProvider<FxJBossTreeCacheMBeanWrapper>

FxBackingCache Provider for a JBossCache instance registered via an external -service.xml deployment

Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at), Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Field Summary
 
Fields inherited from class com.flexive.shared.cache.impl.AbstractBackingCacheProvider
cache
 
Constructor Summary
FxJBossExternalCacheProvider()
           
 
Method Summary
 java.lang.String getDescription()
          Get a description of the provider
 FxBackingCache getInstance()
          Get the cache instance
 void init()
          Initialize the provider
 void shutdown()
          Shutdown the provider
 
Methods inherited from class com.flexive.shared.cache.impl.AbstractBackingCacheProvider
setEvictionStrategy, setEvictionStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FxJBossExternalCacheProvider

public FxJBossExternalCacheProvider()
Method Detail

getDescription

public java.lang.String getDescription()
Get a description of the provider

Returns:
description of the provider

init

public void init()
          throws FxCacheException
Initialize the provider

Throws:
FxCacheException - on errors

shutdown

public void shutdown()
              throws FxCacheException
Shutdown the provider

Throws:
FxCacheException - on errors

getInstance

public FxBackingCache getInstance()
                           throws FxCacheException
Get the cache instance

Returns:
cache instance
Throws:
FxCacheException - on errors