|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zeroexchange.messaging.AbstractMessageListener<T>
public abstract class AbstractMessageListener<T extends Event>
| Constructor Summary | |
|---|---|
AbstractMessageListener()
|
|
| Method Summary | |
|---|---|
protected String |
getDefaultResourcePrefix()
Returns the default template name. |
protected String |
getDefaultSubject()
Returns subject of the sending email. |
protected String |
replacePlaceholders(String target,
Map<String,Object> parameters)
Replaces the placeholders. |
protected void |
send(Collection<User> recipients,
User sender,
String subject,
String body)
Sends the message using the template. |
protected void |
sendTemplate(Collection<User> recipients,
User sender,
String subject,
Map<String,Object> parameters)
Sends the message using the template. |
protected void |
sendTemplate(Collection<User> recipients,
User sender,
String subject,
String templatePath,
Map<String,Object> foreignParameters)
Sends the message using the template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zeroexchange.event.EventProcessor |
|---|
onEvent |
| Methods inherited from interface org.zeroexchange.common.processors.DataProcessor |
|---|
getProcessingClass |
| Constructor Detail |
|---|
public AbstractMessageListener()
| Method Detail |
|---|
protected void sendTemplate(Collection<User> recipients,
User sender,
String subject,
Map<String,Object> parameters)
protected String replacePlaceholders(String target,
Map<String,Object> parameters)
protected void sendTemplate(Collection<User> recipients,
User sender,
String subject,
String templatePath,
Map<String,Object> foreignParameters)
protected void send(Collection<User> recipients,
User sender,
String subject,
String body)
protected String getDefaultSubject()
protected String getDefaultResourcePrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||