org.zeroexchange.messaging.listener
Class UserRegisteredListener

java.lang.Object
  extended by org.zeroexchange.messaging.AbstractMessageListener<UserRegistered>
      extended by org.zeroexchange.messaging.listener.UserRegisteredListener
All Implemented Interfaces:
DataProcessor, EventProcessor<UserRegistered>

public class UserRegisteredListener
extends AbstractMessageListener<UserRegistered>

Sends email notification when user is registered.

Author:
black

Constructor Summary
UserRegisteredListener()
           
 
Method Summary
 Class<?> getProcessingClass()
          Returns root hierarchy current processor can operate
 void onEvent(UserRegistered event)
          Is called when event occurred.
 
Methods inherited from class org.zeroexchange.messaging.AbstractMessageListener
getDefaultResourcePrefix, getDefaultSubject, replacePlaceholders, send, sendTemplate, sendTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserRegisteredListener

public UserRegisteredListener()
Method Detail

getProcessingClass

public Class<?> getProcessingClass()
Description copied from interface: DataProcessor
Returns root hierarchy current processor can operate


onEvent

public void onEvent(UserRegistered event)
Description copied from interface: EventProcessor
Is called when event occurred.



Copyright © 2013. All Rights Reserved.