Class HydratedSetup
java.lang.Object
org.broadleafcommerce.common.cache.HydratedSetup
- Author:
- jfischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCacheItem(String cacheRegion, String cacheName, Serializable elementKey, String elementItemName, Object elementValue) static ObjectgetCacheItem(String cacheRegion, String cacheName, Serializable elementKey, String elementItemName) static voidpopulateFromCache(Object entity) static voidpopulateFromCache(Object entity, String propertyName) static jakarta.persistence.EntityManagerstatic voidsetHydratedCacheManager(HydratedCacheManager hydratedCacheManager)
-
Constructor Details
-
HydratedSetup
public HydratedSetup()
-
-
Method Details
-
setHydratedCacheManager
-
populateFromCache
-
populateFromCache
-
addCacheItem
public static void addCacheItem(String cacheRegion, String cacheName, Serializable elementKey, String elementItemName, Object elementValue) -
getCacheItem
public static Object getCacheItem(String cacheRegion, String cacheName, Serializable elementKey, String elementItemName) -
retrieveBoundEntityManager
public static jakarta.persistence.EntityManager retrieveBoundEntityManager()
-