Package org.opennms.netmgt.dao.mock
Class MockEventWriter
- java.lang.Object
-
- org.opennms.netmgt.dao.mock.MockEventWriter
-
- All Implemented Interfaces:
EventProcessor
,org.springframework.beans.factory.InitializingBean
public class MockEventWriter extends java.lang.Object implements EventProcessor, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description MockEventWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
DistPollerDao
getDistPollerDao()
EventDao
getEventDao()
NodeDao
getNodeDao()
ServiceTypeDao
getServiceTypeDao()
void
process(Log eventLog)
void
process(Log eventLog, boolean synchronous)
void
setDistPollerDao(DistPollerDao distPollerDao)
void
setEventDao(EventDao eventDao)
void
setNodeDao(NodeDao nodeDao)
void
setServiceTypeDao(ServiceTypeDao serviceTypeDao)
-
-
-
Method Detail
-
getEventDao
public EventDao getEventDao()
-
setEventDao
public void setEventDao(EventDao eventDao)
-
getDistPollerDao
public DistPollerDao getDistPollerDao()
-
setDistPollerDao
public void setDistPollerDao(DistPollerDao distPollerDao)
-
getNodeDao
public NodeDao getNodeDao()
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
-
getServiceTypeDao
public ServiceTypeDao getServiceTypeDao()
-
setServiceTypeDao
public void setServiceTypeDao(ServiceTypeDao serviceTypeDao)
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
process
public void process(Log eventLog) throws EventProcessorException
- Specified by:
process
in interfaceEventProcessor
- Throws:
EventProcessorException
-
process
public void process(Log eventLog, boolean synchronous) throws EventProcessorException
- Specified by:
process
in interfaceEventProcessor
- Throws:
EventProcessorException
-
-