Class DefaultSandboxApplicationChangeEventListener
java.lang.Object
com.broadleafcommerce.sandbox.persistence.event.DefaultSandboxApplicationChangeEventListener
- All Implemented Interfaces:
SandboxApplicationChangeEventListener
public class DefaultSandboxApplicationChangeEventListener
extends Object
implements SandboxApplicationChangeEventListener
- Author:
- Nathan Moore (nathandmoore)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSandboxApplicationChangeEventListener
(List<SandboxApplicationChangeEventHandler> sandboxApplicationChangeEventHandlers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(com.broadleafcommerce.data.tracking.core.tenant.service.ApplicationChangedEvent event) Responsible for executing actions in response to anApplicationChangedEvent
.
-
Constructor Details
-
DefaultSandboxApplicationChangeEventListener
public DefaultSandboxApplicationChangeEventListener(List<SandboxApplicationChangeEventHandler> sandboxApplicationChangeEventHandlers)
-
-
Method Details
-
handle
@EventListener public void handle(@NonNull com.broadleafcommerce.data.tracking.core.tenant.service.ApplicationChangedEvent event) Description copied from interface:SandboxApplicationChangeEventListener
Responsible for executing actions in response to anApplicationChangedEvent
. Implementations should mark this method with@EventListener
.- Specified by:
handle
in interfaceSandboxApplicationChangeEventListener
- Parameters:
event
- anApplicationChangedEvent
with information about a changedApplication
-