|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cache.AbstractJndiBoundCacheProvider
public abstract class AbstractJndiBoundCacheProvider
Support for CacheProvider implementations which are backed by caches bound into JNDI namespace.
| Constructor Summary | |
|---|---|
AbstractJndiBoundCacheProvider()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getCache()
|
protected void |
prepare(java.util.Properties properties)
|
protected void |
release()
|
void |
start(java.util.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(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.cache.CacheProvider |
|---|
buildCache, isMinimalPutsEnabledByDefault, nextTimestamp |
| Constructor Detail |
|---|
public AbstractJndiBoundCacheProvider()
| Method Detail |
|---|
protected void prepare(java.util.Properties properties)
protected void release()
public final void start(java.util.Properties properties)
throws CacheException
start in interface CacheProviderproperties - current configuration settings.
CacheExceptionpublic final void stop()
stop in interface CacheProviderpublic java.lang.Object getCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||