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 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 voidafterPropertiesSet()DistPollerDaogetDistPollerDao()EventDaogetEventDao()NodeDaogetNodeDao()ServiceTypeDaogetServiceTypeDao()voidprocess(Log eventLog)voidprocess(Log eventLog, boolean synchronous)voidsetDistPollerDao(DistPollerDao distPollerDao)voidsetEventDao(EventDao eventDao)voidsetNodeDao(NodeDao nodeDao)voidsetServiceTypeDao(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 Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
process
public void process(Log eventLog) throws EventProcessorException
- Specified by:
processin interfaceEventProcessor- Throws:
EventProcessorException
-
process
public void process(Log eventLog, boolean synchronous) throws EventProcessorException
- Specified by:
processin interfaceEventProcessor- Throws:
EventProcessorException
-
-