Package org.opennms.netmgt.statsd
Class DatabaseReportPersister
- java.lang.Object
-
- org.opennms.netmgt.statsd.DatabaseReportPersister
-
- All Implemented Interfaces:
ReportPersister
,org.springframework.beans.factory.InitializingBean
public class DatabaseReportPersister extends Object implements ReportPersister, org.springframework.beans.factory.InitializingBean
DatabaseReportPersister class.
- Version:
- $Id: $
- Author:
- DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description DatabaseReportPersister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetResourceReferenceDao
getResourceReferenceDao()
getResourceReferenceDaoStatisticsReportDao
getStatisticsReportDao()
getStatisticsReportDaovoid
persist(ReportInstance report)
persistvoid
setResourceReferenceDao(ResourceReferenceDao resourceReferenceDao)
setResourceReferenceDaovoid
setStatisticsReportDao(StatisticsReportDao statisticsReportDao)
setStatisticsReportDao
-
-
-
Method Detail
-
persist
public void persist(ReportInstance report)
persist
- Specified by:
persist
in interfaceReportPersister
- Parameters:
report
- aReportInstance
object.
-
afterPropertiesSet
public void afterPropertiesSet()
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getStatisticsReportDao
public StatisticsReportDao getStatisticsReportDao()
getStatisticsReportDao
- Returns:
- a
StatisticsReportDao
object.
-
setStatisticsReportDao
public void setStatisticsReportDao(StatisticsReportDao statisticsReportDao)
setStatisticsReportDao
- Parameters:
statisticsReportDao
- aStatisticsReportDao
object.
-
getResourceReferenceDao
public ResourceReferenceDao getResourceReferenceDao()
getResourceReferenceDao
- Returns:
- a
ResourceReferenceDao
object.
-
setResourceReferenceDao
public void setResourceReferenceDao(ResourceReferenceDao resourceReferenceDao)
setResourceReferenceDao
- Parameters:
resourceReferenceDao
- aResourceReferenceDao
object.
-
-