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