org.opennms.netmgt.dao
Class TransactionAwareEventForwarder

java.lang.Object
  extended by org.opennms.netmgt.dao.TransactionAwareEventForwarder
All Implemented Interfaces:
EventForwarder, org.springframework.beans.factory.InitializingBean

public class TransactionAwareEventForwarder
extends Object
implements EventForwarder, org.springframework.beans.factory.InitializingBean

Author:
Mathew Brozowski, DJ Gregor

Nested Class Summary
static class TransactionAwareEventForwarder.PendingEventsHolder
           
static class TransactionAwareEventForwarder.PendingEventsSynchronization
           
 
Constructor Summary
TransactionAwareEventForwarder()
           
 
Method Summary
 void afterPropertiesSet()
           
 void releasePendingEventsList(List<Log> pendingEvents)
           
 List<Log> requestPendingEventsList()
           
 void sendNow(Event event)
           
 void sendNow(Log eventLog)
           
 void setEventForwarder(EventForwarder eventForwarder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionAwareEventForwarder

public TransactionAwareEventForwarder()
Method Detail

setEventForwarder

public void setEventForwarder(EventForwarder eventForwarder)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

sendNow

public void sendNow(Event event)
Specified by:
sendNow in interface EventForwarder

sendNow

public void sendNow(Log eventLog)
Specified by:
sendNow in interface EventForwarder

requestPendingEventsList

public List<Log> requestPendingEventsList()

releasePendingEventsList

public void releasePendingEventsList(List<Log> pendingEvents)


Copyright © 2009. All Rights Reserved.