Class TenantPersistenceHandler
java.lang.Object
com.broadleafcommerce.search.core.messaging.handler.TenantPersistenceHandler
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.PersistenceHandler
@DataRouteByKey("search")
public class TenantPersistenceHandler
extends Object
implements com.broadleafcommerce.common.messaging.PersistenceHandler
Clear the locale cache in
SearchTenantProvider if a change has been made to a tenant.-
Field Summary
Fields inherited from interface com.broadleafcommerce.common.messaging.PersistenceHandler
log -
Constructor Summary
ConstructorsConstructorDescriptionTenantPersistenceHandler(SearchTenantProvider tenantService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapperString[]protected SearchTenantProvidervoidvoidprocessStateChange(com.fasterxml.jackson.databind.JsonNode entityJson) voidsetSearchMessagingProperties(SearchMessagingProperties searchMessagingProperties) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.common.messaging.PersistenceHandler
handle, isValidType, validate
-
Constructor Details
-
TenantPersistenceHandler
public TenantPersistenceHandler(SearchTenantProvider tenantService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
hook
- Specified by:
hookin interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
processStateChange
public void processStateChange(com.fasterxml.jackson.databind.JsonNode entityJson) - Specified by:
processStateChangein interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
getSupportedSimpleTypeNames
- Specified by:
getSupportedSimpleTypeNamesin interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
getTenantService
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()- Specified by:
getObjectMapperin interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
getSearchMessagingProperties
-
setSearchMessagingProperties
@Autowired public void setSearchMessagingProperties(SearchMessagingProperties searchMessagingProperties)
-