Class AdminNotificationForgotUsernameEventListener

java.lang.Object
org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent>
org.broadleafcommerce.admin.event.AdminNotificationForgotUsernameEventListener
All Implemented Interfaces:
EventListener, org.broadleafcommerce.common.event.BroadleafApplicationListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent>, org.springframework.context.ApplicationListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent>

@Component("blAdminNotificationForgotUsernameEventListener") public class AdminNotificationForgotUsernameEventListener extends org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent>
Author:
Nick Crum ncrum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    protected final org.apache.commons.logging.Log
     
    protected org.broadleafcommerce.common.notification.service.NotificationDispatcher
     

    Fields inherited from class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener

    currencyService, localeService, siteService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Map<String,Object>
    createContext(org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent event)
     
    protected void
    handleApplicationEvent(org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent event)
     
    boolean
     

    Methods inherited from class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener

    getCatalog, getCurrency, getLocale, getProfile, getSite, getTimeZone, onApplicationEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.ApplicationListener

    supportsAsyncExecution
  • Field Details

    • ACTIVE_USERNAMES_CONTEXT_KEY

      public static final String ACTIVE_USERNAMES_CONTEXT_KEY
      See Also:
    • LOG

      protected final org.apache.commons.logging.Log LOG
    • notificationDispatcher

      @Autowired @Qualifier("blNotificationDispatcher") protected org.broadleafcommerce.common.notification.service.NotificationDispatcher notificationDispatcher
  • Constructor Details

    • AdminNotificationForgotUsernameEventListener

      public AdminNotificationForgotUsernameEventListener()
  • Method Details

    • handleApplicationEvent

      protected void handleApplicationEvent(org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent event)
      Specified by:
      handleApplicationEvent in class org.broadleafcommerce.common.event.AbstractBroadleafApplicationEventListener<org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent>
    • createContext

      protected Map<String,Object> createContext(org.broadleafcommerce.openadmin.server.security.event.AdminForgotUsernameEvent event)
    • isAsynchronous

      public boolean isAsynchronous()