|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.utils.TransactionAwareEventIpcManagerProxy
public class TransactionAwareEventIpcManagerProxy
| Nested Class Summary | |
|---|---|
static class |
TransactionAwareEventIpcManagerProxy.PendingEventsHolder
|
static class |
TransactionAwareEventIpcManagerProxy.PendingEventsSynchronization
|
| Constructor Summary | |
|---|---|
TransactionAwareEventIpcManagerProxy()
|
|
| Method Summary | |
|---|---|
void |
addEventListener(EventListener listener)
Registers an event listener that is interested in all events |
void |
addEventListener(EventListener listener,
Collection<String> ueis)
Registers an event listener interested in the UEIs in the passed list |
void |
addEventListener(EventListener listener,
String uei)
Registers an event listener interested in the passed UEI |
void |
afterPropertiesSet()
|
void |
releasePendingEventsList(List<Log> pendingEvents)
|
void |
removeEventListener(EventListener listener)
Removes a registered event listener |
void |
removeEventListener(EventListener listener,
Collection<String> ueis)
Removes a registered event listener - the UEI list indicates the list of events the listener is no more interested in |
void |
removeEventListener(EventListener listener,
String uei)
Removes a registered event listener - the UEI indicates an event the listener is no more interested in |
List<Log> |
requestPendingEventsList()
|
void |
sendNow(Event event)
Called by a service to send an event to eventd |
void |
sendNow(Log eventLog)
Called by a service to send a set of events to eventd |
void |
setEventIpcManager(EventIpcManager eventIpcManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionAwareEventIpcManagerProxy()
| Method Detail |
|---|
public void setEventIpcManager(EventIpcManager eventIpcManager)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
public void addEventListener(EventListener listener,
Collection<String> ueis)
EventIpcManager
addEventListener in interface EventIpcManager
public void addEventListener(EventListener listener,
String uei)
EventIpcManager
addEventListener in interface EventIpcManagerpublic void addEventListener(EventListener listener)
EventIpcManager
addEventListener in interface EventIpcManager
public void removeEventListener(EventListener listener,
Collection<String> ueis)
EventIpcManager
removeEventListener in interface EventIpcManager
public void removeEventListener(EventListener listener,
String uei)
EventIpcManager
removeEventListener in interface EventIpcManagerpublic void removeEventListener(EventListener listener)
EventIpcManager
removeEventListener in interface EventIpcManagerpublic void sendNow(Event event)
EventIpcManager
sendNow in interface EventIpcManagerpublic void sendNow(Log eventLog)
EventIpcManager
sendNow in interface EventIpcManagerpublic List<Log> requestPendingEventsList()
public void releasePendingEventsList(List<Log> pendingEvents)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||