Added getCacheAdapter().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2165 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -140,6 +140,14 @@ public class PersistenceContext
|
|||||||
_cache = adapter;
|
_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
|
* Shuts this persistence context down, shutting down any caching system in use and shutting
|
||||||
* down the JDBC connection pool.
|
* down the JDBC connection pool.
|
||||||
|
|||||||
Reference in New Issue
Block a user