Added getCacheAdapter().

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2165 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-08-11 00:48:59 +00:00
parent d58e6a3457
commit 2e2a6f09f7
@@ -140,6 +140,14 @@ public class PersistenceContext
_cache = adapter;
}
/**
* Returns the cache adapter used by this context or null if caching is disabled.
*/
public CacheAdapter getCacheAdapter ()
{
return _cache;
}
/**
* Shuts this persistence context down, shutting down any caching system in use and shutting
* down the JDBC connection pool.