org.kuali.rice.krad.service.impl
Class MailServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.MailServiceImpl
All Implemented Interfaces:
MailService

public class MailServiceImpl
extends Object
implements MailService

Default implementation of mail service

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
MailServiceImpl()
           
 
Method Summary
protected  MailMessage composeMessage(MailMessage message)
           
 String getBatchMailingList()
           
protected  MailMessage getNonProductionMessage(MailMessage message)
           
 String getNonProductionNotificationMailingList()
           
 boolean isRealNotificationsEnabled()
           
 void sendMessage(MailMessage message)
          This overridden method ...
 void setBatchMailingList(String batchMailingList)
          Sets the batchMailingList attribute value.
 void setMailer(Mailer mailer)
          The injected Mailer.
 void setNonProductionNotificationMailingList(String nonProductionNotificationMailingList)
           
 void setRealNotificationsEnabled(boolean realNotificationsEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailServiceImpl

public MailServiceImpl()
Method Detail

setMailer

public void setMailer(Mailer mailer)
The injected Mailer.


setBatchMailingList

public void setBatchMailingList(String batchMailingList)
Sets the batchMailingList attribute value.

Parameters:
batchMailingList - The batchMailingList to set.

getBatchMailingList

public String getBatchMailingList()
Specified by:
getBatchMailingList in interface MailService
See Also:
MailService.getBatchMailingList()

sendMessage

public void sendMessage(MailMessage message)
                 throws InvalidAddressException,
                        javax.mail.MessagingException
This overridden method ...

Specified by:
sendMessage in interface MailService
Throws:
javax.mail.MessagingException
InvalidAddressException
See Also:
MailService.sendMessage(org.kuali.rice.core.api.mail.MailMessage)

composeMessage

protected MailMessage composeMessage(MailMessage message)

getNonProductionNotificationMailingList

public String getNonProductionNotificationMailingList()

setNonProductionNotificationMailingList

public void setNonProductionNotificationMailingList(String nonProductionNotificationMailingList)
Parameters:
nonProductionNotificationMailingList - the nonProductionNotificationMailingList to set

isRealNotificationsEnabled

public boolean isRealNotificationsEnabled()
Returns:
the realNotificationsEnabled

setRealNotificationsEnabled

public void setRealNotificationsEnabled(boolean realNotificationsEnabled)
Parameters:
realNotificationsEnabled - the realNotificationsEnabled to set

getNonProductionMessage

protected MailMessage getNonProductionMessage(MailMessage message)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.