org.apache.commons.daemon.support
Class DaemonLoader.Controller

java.lang.Object
  extended by org.apache.commons.daemon.support.DaemonLoader.Controller
All Implemented Interfaces:
DaemonController
Enclosing class:
DaemonLoader

public static class DaemonLoader.Controller
extends java.lang.Object
implements DaemonController


Method Summary
 void fail()
          Shuts down daemon and logs failed message.
 void fail(java.lang.Exception exception)
          Shuts down daemon and logs failed message.
 void fail(java.lang.String message)
          Shuts down daemon and logs failed message.
 void fail(java.lang.String message, java.lang.Exception exception)
          Shuts down daemon and logs failed message.
 void reload()
          Reloads daemon
 void shutdown()
          Shuts down the daemon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shutdown

public void shutdown()
              throws java.lang.IllegalStateException
Description copied from interface: DaemonController
Shuts down the daemon.

Specified by:
shutdown in interface DaemonController
Throws:
java.lang.IllegalStateException

reload

public void reload()
            throws java.lang.IllegalStateException
Description copied from interface: DaemonController
Reloads daemon

Specified by:
reload in interface DaemonController
Throws:
java.lang.IllegalStateException

fail

public void fail()
Description copied from interface: DaemonController
Shuts down daemon and logs failed message.

Specified by:
fail in interface DaemonController

fail

public void fail(java.lang.String message)
Description copied from interface: DaemonController
Shuts down daemon and logs failed message.

Specified by:
fail in interface DaemonController

fail

public void fail(java.lang.Exception exception)
Description copied from interface: DaemonController
Shuts down daemon and logs failed message.

Specified by:
fail in interface DaemonController

fail

public void fail(java.lang.String message,
                 java.lang.Exception exception)
Description copied from interface: DaemonController
Shuts down daemon and logs failed message.

Specified by:
fail in interface DaemonController


Copyright (c) 2002-2012 - Apache Software Foundation