org.hibernate.cache
Class AbstractJndiBoundCacheProvider
java.lang.Object
org.hibernate.cache.AbstractJndiBoundCacheProvider
- CacheProvider
public abstract class AbstractJndiBoundCacheProvider
extends java.lang.Object
Support for CacheProvider implementations which are backed by caches bound
into JNDI namespace.
Object | getCache()
|
protected void | prepare(Properties properties)
|
protected void | release()
|
void | start(Properties properties) - Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory
construction.
|
void | stop() - Callback to perform any necessary cleanup of the underlying cache
implementation during SessionFactory.close().
|
getCache
public Object getCache()
prepare
protected void prepare(Properties properties)
release
protected void release()
start
public final void start(Properties properties)
throws CacheException
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory
construction.
- start in interface CacheProvider
properties
- current configuration settings.
stop
public final void stop()
Callback to perform any necessary cleanup of the underlying cache
implementation during SessionFactory.close().
- stop in interface CacheProvider