|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wanghy.cache.provider.AbstractSingletonCacheManagerFactoryBean org.wanghy.cache.provider.AbstractConfigurationResourceCacheManagerFactoryBean org.wanghy.cache.provider.oscache.OscacheManagerFactoryBean
FactoryBean that exposes a OSCache GeneralCacheAdministrator
singleton, configured from a specified config location.
If no config location is specified, a GeneralCacheAdministrator
will be configured from "oscache.properties" in the root of the class path.
Field Summary | |
private GeneralCacheAdministrator |
cacheManager
The cache manager managed by this factory. |
private static Log |
logger
Message logger. |
Fields inherited from class org.wanghy.cache.provider.AbstractConfigurationResourceCacheManagerFactoryBean |
|
Constructor Summary | |
OscacheManagerFactoryBean()
Constructor. |
Method Summary | |
void |
afterPropertiesSet()
Builds the cache manager after all the properties of this factory has been set by the BeanFactory. |
void |
destroy()
Shuts down the cache manager before this factory is destroyed by the BeanFactory. |
Object |
getObject()
Returns . |
Class |
getObjectType()
Returns the type of . |
Methods inherited from class org.wanghy.cache.provider.AbstractConfigurationResourceCacheManagerFactoryBean |
getConfigLocation, setConfigLocation |
Methods inherited from class org.wanghy.cache.provider.AbstractSingletonCacheManagerFactoryBean |
isSingleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static Log logger
private GeneralCacheAdministrator cacheManager
Constructor Detail |
public OscacheManagerFactoryBean()
Method Detail |
public void afterPropertiesSet() throws Exception
Exception
public void destroy() throws Exception
Exception
public Object getObject() throws Exception
cacheManager
.
Exception
public Class getObjectType()
cacheManager
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |