ch.syabru.nagios.broker.impl
Class NagiosMessageBrokerImpl

java.lang.Object
  extended by ch.syabru.nagios.broker.impl.NagiosMessageBrokerImpl
All Implemented Interfaces:
NagiosMessageBroker, Runnable, org.springframework.context.ApplicationContextAware

public class NagiosMessageBrokerImpl
extends Object
implements Runnable, NagiosMessageBroker, org.springframework.context.ApplicationContextAware

Nagios message broker main class.

Author:
Felix Roethenbacher

Constructor Summary
NagiosMessageBrokerImpl()
           
 
Method Summary
 void destroy()
          Shut-down method.
 void run()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setIsDaemon(boolean isDaemon)
           
 void setMessageListeners(List<MessageListener> messageListeners)
           
 void start()
          Start message broker.
 void stop()
          Stop message broker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NagiosMessageBrokerImpl

public NagiosMessageBrokerImpl()
Method Detail

run

public void run()
Specified by:
run in interface Runnable

destroy

@PreDestroy
public void destroy()
Shut-down method.


start

public void start()
Description copied from interface: NagiosMessageBroker
Start message broker.

Specified by:
start in interface NagiosMessageBroker

stop

public void stop()
Description copied from interface: NagiosMessageBroker
Stop message broker.

Specified by:
stop in interface NagiosMessageBroker

setMessageListeners

public void setMessageListeners(List<MessageListener> messageListeners)

setIsDaemon

public void setIsDaemon(boolean isDaemon)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware


Copyright © 2010-2011 Syabru. All Rights Reserved.