Class JavaMailDeliveryService
- java.lang.Object
-
- org.opennms.netmgt.reporting.service.JavaMailDeliveryService
-
- All Implemented Interfaces:
ReportDeliveryService
public class JavaMailDeliveryService extends Object implements ReportDeliveryService
The Class JavaMailDeliveryService.- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description JavaMailDeliveryService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deliverReport(Report report, String fileName)
deliverReportJavaMailConfigurationDao
getJavamailConfigDao()
Gets the JavaMail configuration DAO.void
reloadConfiguration()
reloadConfigurationvoid
setJavamailConfigDao(JavaMailConfigurationDao javamailConfigDao)
Sets the JavaMail configuration DAO.
-
-
-
Method Detail
-
deliverReport
public void deliverReport(Report report, String fileName) throws ReportDeliveryException
Description copied from interface:ReportDeliveryService
deliverReport
- Specified by:
deliverReport
in interfaceReportDeliveryService
- Parameters:
report
- aReport
object.fileName
- aString
object.- Throws:
ReportDeliveryException
-
getJavamailConfigDao
public JavaMailConfigurationDao getJavamailConfigDao()
Gets the JavaMail configuration DAO.- Returns:
- the JavaMail configuration DAO
-
setJavamailConfigDao
public void setJavamailConfigDao(JavaMailConfigurationDao javamailConfigDao)
Sets the JavaMail configuration DAO.- Parameters:
javamailConfigDao
- the new JavaMail configuration DAO
-
reloadConfiguration
public void reloadConfiguration()
Description copied from interface:ReportDeliveryService
reloadConfiguration
Triggers a reload of the delivery service's configuration- Specified by:
reloadConfiguration
in interfaceReportDeliveryService
-
-