Class NotificationRegisterCustomerEventListener
java.lang.Object
org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<RegisterCustomerEvent>
org.broadleafcommerce.profile.core.event.NotificationRegisterCustomerEventListener
- All Implemented Interfaces:
EventListener,BroadleafApplicationListener<RegisterCustomerEvent>,org.springframework.context.ApplicationListener<RegisterCustomerEvent>
@Component("blNotificationRegisterCustomerEventListener")
public class NotificationRegisterCustomerEventListener
extends AbstractBroadleafApplicationEventListener<RegisterCustomerEvent>
- Author:
- Nick Crum ncrum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected CustomerServiceprotected final org.apache.commons.logging.Logprotected NotificationDispatcherFields inherited from class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener
currencyService, localeService, siteService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Customer customer, RegisterCustomerEvent event) protected voidbooleanMethods inherited from class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener
getCatalog, getCurrency, getLocale, getProfile, getSite, getTimeZone, onApplicationEvent
-
Field Details
-
CUSTOMER_CONTEXT_KEY
- See Also:
-
LOG
protected final org.apache.commons.logging.Log LOG -
customerService
-
notificationDispatcher
@Autowired @Qualifier("blNotificationDispatcher") protected NotificationDispatcher notificationDispatcher
-
-
Constructor Details
-
NotificationRegisterCustomerEventListener
public NotificationRegisterCustomerEventListener()
-
-
Method Details
-
handleApplicationEvent
- Specified by:
handleApplicationEventin classAbstractBroadleafApplicationEventListener<RegisterCustomerEvent>
-
createContext
-
isAsynchronous
public boolean isAsynchronous()
-