public abstract class AbstractBroadleafApplicationEventListener<T extends BroadleafApplicationEvent> extends Object implements BroadleafApplicationListener<T>
BroadleafApplicationEvent.| Modifier and Type | Field and Description |
|---|---|
protected BroadleafCurrencyService |
currencyService |
protected LocaleService |
localeService |
protected SiteService |
siteService |
| Constructor and Description |
|---|
AbstractBroadleafApplicationEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected Catalog |
getCatalog(T event) |
protected BroadleafCurrency |
getCurrency(T event) |
protected Locale |
getLocale(T event) |
protected Site |
getProfile(T event) |
protected Site |
getSite(T event) |
protected TimeZone |
getTimeZone(T event) |
protected abstract void |
handleApplicationEvent(T event) |
void |
onApplicationEvent(T event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAsynchronous@Autowired @Qualifier(value="blSiteService") protected SiteService siteService
@Autowired @Qualifier(value="blCurrencyService") protected BroadleafCurrencyService currencyService
@Autowired @Qualifier(value="blLocaleService") protected LocaleService localeService
public AbstractBroadleafApplicationEventListener()
protected abstract void handleApplicationEvent(T event)
public final void onApplicationEvent(T event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<T extends BroadleafApplicationEvent>protected BroadleafCurrency getCurrency(T event)
Copyright © 2017. All rights reserved.