ch.syabru.nagios.broker
Class Bootstrap

java.lang.Object
  extended by ch.syabru.nagios.broker.Bootstrap
All Implemented Interfaces:
org.apache.commons.daemon.Daemon

public class Bootstrap
extends Object
implements org.apache.commons.daemon.Daemon

Nagios message broker bootstrap implementation.

Author:
Felix Roethenbacher

Constructor Summary
Bootstrap()
           
 
Method Summary
 void destroy()
           
 void init(org.apache.commons.daemon.DaemonContext ctx)
           
static void main(String[] args)
          Main method.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bootstrap

public Bootstrap()
Method Detail

main

public static void main(String[] args)
Main method.

Parameters:
args - Command line arguments.

start

public void start()
           throws Exception
Specified by:
start in interface org.apache.commons.daemon.Daemon
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.apache.commons.daemon.Daemon
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface org.apache.commons.daemon.Daemon

init

public void init(org.apache.commons.daemon.DaemonContext ctx)
          throws Exception
Specified by:
init in interface org.apache.commons.daemon.Daemon
Throws:
Exception


Copyright © 2010-2011 Syabru. All Rights Reserved.