com.metamatrix.cache.jboss
Class JBossCacheFactory

java.lang.Object
  extended by com.metamatrix.cache.jboss.JBossCacheFactory
All Implemented Interfaces:
CacheFactory

public class JBossCacheFactory
extends java.lang.Object
implements CacheFactory


Constructor Summary
JBossCacheFactory(org.jboss.cache.Cache cacheStore, JMXUtil jmx)
           
 
Method Summary
 void destroy()
          Destroy the cache factory and any caches underneath.
 Cache get(Cache.Type type, CacheConfiguration config)
          Create / Get the cache for the give type use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossCacheFactory

public JBossCacheFactory(org.jboss.cache.Cache cacheStore,
                         JMXUtil jmx)
Method Detail

get

public Cache get(Cache.Type type,
                 CacheConfiguration config)
Create / Get the cache for the give type use

Specified by:
get in interface CacheFactory
Parameters:
type - cache type
config - configuration setup for the cache
Returns:

destroy

public void destroy()
Description copied from interface: CacheFactory
Destroy the cache factory and any caches underneath.

Specified by:
destroy in interface CacheFactory


Copyright © 2009. All Rights Reserved.