|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.plugins.cache.DefaultCacheFactory
public class DefaultCacheFactory
Default cache factory - legacy mock.
Constructor Summary | |
---|---|
DefaultCacheFactory()
|
Method Summary | ||
---|---|---|
|
createCache(Class<K> keyClass,
Class<V> valueClass,
String rootFqn)
Create cache. |
|
|
createCacheItem(Class<V> valueClass,
String rootFqn)
Create cache. |
|
String |
createFqn(Object owner)
Create the owner's fqn. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCacheFactory()
Method Detail |
---|
public String createFqn(Object owner)
CacheFactory
createFqn
in interface CacheFactory
owner
- the factory owner instance
public <K,V> Cache<K,V> createCache(Class<K> keyClass, Class<V> valueClass, String rootFqn)
CacheFactory
createCache
in interface CacheFactory
K
- the key classV
- the value classkeyClass
- the key classvalueClass
- the value classrootFqn
- the root fqn
public <V> CacheItem<V> createCacheItem(Class<V> valueClass, String rootFqn)
CacheFactory
createCacheItem
in interface CacheFactory
V
- the value classvalueClass
- the value classrootFqn
- the root fqn
|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |