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
ReportDeliveryService
deliverReport
deliverReport
in interface ReportDeliveryService
report
- a Report
object.fileName
- a String
object.ReportDeliveryException
public JavaMailConfigurationDao getJavamailConfigDao()
public void setJavamailConfigDao(JavaMailConfigurationDao javamailConfigDao)
javamailConfigDao
- the new JavaMail configuration DAOpublic void reloadConfiguration()
ReportDeliveryService
reloadConfiguration
Triggers a reload of the delivery service's configurationreloadConfiguration
in interface ReportDeliveryService
Copyright © 2021. All rights reserved.