if (cache != null && cacheConfigName != null)
{
if (usePojoCache)
{
PojoCacheManager cm = PojoCacheManagerLocator.getCacheManagerLocator().getCacheManager(null);
cm.releaseCache(cacheConfigName);
}
else
{
CacheManager cm = CacheManagerLocator.getCacheManagerLocator().getCacheManager(null);
cm.releaseCache(cacheConfigName);