org.teiid.cache.jboss
Class JBossCacheFactory

java.lang.Object
  extended by org.teiid.cache.jboss.JBossCacheFactory
All Implemented Interfaces:
java.io.Serializable, CacheFactory

public class JBossCacheFactory
extends java.lang.Object
implements CacheFactory, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
JBossCacheFactory(java.lang.String name, java.lang.Object cm)
           
 
Method Summary
 void destroy()
          Destroy the cache factory and any caches underneath.
 Cache get(java.lang.String location, CacheConfiguration config)
          Create / Get the cache for the give type use
 boolean isReplicated()
          Return true if replicated caches are created by this factory
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossCacheFactory

public JBossCacheFactory(java.lang.String name,
                         java.lang.Object cm)
                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

get

public Cache get(java.lang.String location,
                 CacheConfiguration config)
Create / Get the cache for the give type use

Specified by:
get in interface CacheFactory
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

stop

public void stop()

isReplicated

public boolean isReplicated()
Description copied from interface: CacheFactory
Return true if replicated caches are created by this factory

Specified by:
isReplicated in interface CacheFactory
Returns:


Copyright © 2011. All Rights Reserved.