@ Override public boolean doesScopedPersistenceUnitNameIdentifyCacheRegionName ( PersistenceUnitMetadata pu ) { String cacheRegionPrefix = pu . getProperties ( ) . getProperty ( AvailableSettings . CACHE_REGION_PREFIX ) ; return cacheRegionPrefix == null || cacheRegionPrefix . equals ( pu . getScopedPersistenceUnitName ( ) ) ; }
determine if management console can display the second level cache entries