org.opennms.netmgt.eventd
Class EventIpcManagerProxy

java.lang.Object
  extended by 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

Constructor Summary
EventIpcManagerProxy()
           
 
Method Summary
 void addEventListener(EventListener listener)
           
 void addEventListener(EventListener listener, Collection<String> ueis)
           
 void addEventListener(EventListener listener, List<String> ueiList)
           
 void addEventListener(EventListener listener, String uei)
           
 EventIpcManager getDelegate()
           
 void removeEventListener(EventListener listener)
           
 void removeEventListener(EventListener listener, Collection<String> ueis)
           
 void removeEventListener(EventListener listener, List<String> ueiList)
           
 void removeEventListener(EventListener listener, String uei)
           
 void send(Event event)
           
 void send(Log eventLog)
           
 void sendNow(Event event)
           
 void sendNow(Log eventLog)
           
 void setDelegate(EventIpcManager delegate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventIpcManagerProxy

public EventIpcManagerProxy()
Method Detail

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.