public class JavaMailDeliveryService extends Object implements ReportDeliveryService
| Constructor and Description |
|---|
JavaMailDeliveryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
deliverReport(Report report,
String fileName)
deliverReport
|
JavaMailConfigurationDao |
getJavamailConfigDao()
Gets the JavaMail configuration DAO.
|
void |
reloadConfiguration()
reloadConfiguration
|
void |
setJavamailConfigDao(JavaMailConfigurationDao javamailConfigDao)
Sets the JavaMail configuration DAO.
|
public void deliverReport(Report report, String fileName) throws ReportDeliveryException
ReportDeliveryServicedeliverReport
deliverReport in interface ReportDeliveryServicereport - a Report object.fileName - a String object.ReportDeliveryExceptionpublic JavaMailConfigurationDao getJavamailConfigDao()
public void setJavamailConfigDao(JavaMailConfigurationDao javamailConfigDao)
javamailConfigDao - the new JavaMail configuration DAOpublic void reloadConfiguration()
ReportDeliveryServicereloadConfiguration
Triggers a reload of the delivery service's configurationreloadConfiguration in interface ReportDeliveryServiceCopyright © 2020. All rights reserved.