Added getCacheAdapter().

This commit is contained in:
Michael Bayne
2007-08-11 00:48:59 +00:00
parent f9b6414270
commit 9b87020fe5
@@ -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.