org.opennms.netmgt.eventd
Class EventIpcManagerProxy
java.lang.Object
org.opennms.netmgt.eventd.EventIpcManagerProxy
- All Implemented Interfaces:
- EventIpcManager, EventForwarder, EventProxy, EventSubscriptionService
public class EventIpcManagerProxy
- extends Object
- implements EventIpcManager
Late initializing proxy to another EventIpcManager object.
This lets us use this class in a Spring application context
that is shared amongst the daemons without having to do all of
the fairly heavy work to initialize a real EventIpcManager in
the share application context.
- Author:
- DJ Gregor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventIpcManagerProxy
public EventIpcManagerProxy()
addEventListener
public void addEventListener(EventListener listener)
- Specified by:
addEventListener in interface EventSubscriptionService
addEventListener
public void addEventListener(EventListener listener,
List<String> ueiList)
addEventListener
public void addEventListener(EventListener listener,
String uei)
- Specified by:
addEventListener in interface EventSubscriptionService
addEventListener
public void addEventListener(EventListener listener,
Collection<String> ueis)
- Specified by:
addEventListener in interface EventSubscriptionService
removeEventListener
public void removeEventListener(EventListener listener)
- Specified by:
removeEventListener in interface EventSubscriptionService
removeEventListener
public void removeEventListener(EventListener listener,
List<String> ueiList)
removeEventListener
public void removeEventListener(EventListener listener,
String uei)
- Specified by:
removeEventListener in interface EventSubscriptionService
removeEventListener
public void removeEventListener(EventListener listener,
Collection<String> ueis)
- Specified by:
removeEventListener in interface EventSubscriptionService
send
public void send(Event event)
throws EventProxyException
- Specified by:
send in interface EventProxy
- Throws:
EventProxyException
send
public void send(Log eventLog)
throws EventProxyException
- Specified by:
send in interface EventProxy
- Throws:
EventProxyException
sendNow
public void sendNow(Event event)
- Specified by:
sendNow in interface EventForwarder
sendNow
public void sendNow(Log eventLog)
- Specified by:
sendNow in interface EventForwarder
getDelegate
public EventIpcManager getDelegate()
setDelegate
public void setDelegate(EventIpcManager delegate)
Copyright © 2009. All Rights Reserved.