public class CacheEntityFactory
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
defaultCacheEntity |
static java.lang.String |
MEMORY_CACHE_ENTITY |
private java.util.Properties |
properties |
构造器和说明 |
---|
CacheEntityFactory(java.lang.String configurationResourceName) |
限定符和类型 | 方法和说明 |
---|---|
<K,V> CacheEntity<K,V> |
createCacheEntity(java.lang.String name) |
<K,V> CacheEntity<K,V> |
createCacheEntity(java.lang.String name,
java.lang.String type) |
public static final java.lang.String MEMORY_CACHE_ENTITY
private java.lang.String defaultCacheEntity
private java.util.Properties properties
public CacheEntityFactory(java.lang.String configurationResourceName) throws java.io.IOException
configurationResourceName
- java.io.IOException
public <K,V> CacheEntity<K,V> createCacheEntity(java.lang.String name, java.lang.String type) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
name
- type
- java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
public <K,V> CacheEntity<K,V> createCacheEntity(java.lang.String name) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
name
- java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException