com.flexive.shared.cache.impl
Class FxJBossEmbeddedCacheProvider

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

public class FxJBossEmbeddedCacheProvider
extends AbstractBackingCacheProvider<FxJBossTreeCacheWrapper>

JBossCache FxBackingCacheProvider

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

Field Summary
static java.lang.String SYSTEM_CACHE_CONFIG
          System property holding the XML configuration file for the embedded cache.
 
Fields inherited from class com.flexive.shared.cache.impl.AbstractBackingCacheProvider
cache
 
Constructor Summary
FxJBossEmbeddedCacheProvider()
           
 
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
 

Field Detail

SYSTEM_CACHE_CONFIG

public static final java.lang.String SYSTEM_CACHE_CONFIG
System property holding the XML configuration file for the embedded cache. The path must be available either on the file system or in the classpath.

See Also:
Constant Field Values
Constructor Detail

FxJBossEmbeddedCacheProvider

public FxJBossEmbeddedCacheProvider()
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