@Component(value="blNotificationOrderSubmittedEventListener") public class NotificationOrderSubmittedEventListener extends AbstractBroadleafApplicationEventListener<OrderSubmittedEvent>
OrderSubmittedEvent. By
default, this listener will handle the event synchronously unless the BroadleafApplicationEventMulticaster is
injected and configured correctly to handle asynchronous events.for where the event is typically published| Modifier and Type | Field and Description |
|---|---|
protected static String |
CUSTOMER_CONTEXT_KEY |
protected org.apache.commons.logging.Log |
LOG |
protected NotificationDispatcher |
notificationDispatcher |
protected static String |
ORDER_CONTEXT_KEY |
protected OrderService |
orderService |
currencyService, localeService, siteService| Constructor and Description |
|---|
NotificationOrderSubmittedEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createContext(Order order) |
protected void |
handleApplicationEvent(OrderSubmittedEvent event) |
boolean |
isAsynchronous() |
getCatalog, getCurrency, getLocale, getProfile, getSite, getTimeZone, onApplicationEventprotected static final String ORDER_CONTEXT_KEY
protected static final String CUSTOMER_CONTEXT_KEY
protected final org.apache.commons.logging.Log LOG
@Autowired @Qualifier(value="blOrderService") protected OrderService orderService
@Autowired @Qualifier(value="blNotificationDispatcher") protected NotificationDispatcher notificationDispatcher
public NotificationOrderSubmittedEventListener()
protected void handleApplicationEvent(OrderSubmittedEvent event)
handleApplicationEvent in class AbstractBroadleafApplicationEventListener<OrderSubmittedEvent>public boolean isAsynchronous()
Copyright © 2025. All rights reserved.