org.apache.commons.daemon
Interface DaemonController

All Known Implementing Classes:
DaemonLoader.Controller

public interface DaemonController

Interface which defines methods needed by the DaemonLoader.

Version:
1.0 (SVN $Revision: 925054 $)
Author:
Pier Fumagalli

Method Summary
 void fail()
          Shudown daemon and log failed message.
 void fail(Exception exception)
          Shudown daemon and log failed message.
 void fail(String message)
          Shudown daemon and log failed message.
 void fail(String message, Exception exception)
          Shudown daemon and log failed message.
 void reload()
          Reload daemon
 void shutdown()
          Shutdown the daemon.
 

Method Detail

shutdown

void shutdown()
              throws IllegalStateException
Shutdown the daemon.

Throws:
IllegalStateException

reload

void reload()
            throws IllegalStateException
Reload daemon

Throws:
IllegalStateException

fail

void fail()
          throws IllegalStateException
Shudown daemon and log failed message.

Throws:
IllegalStateException

fail

void fail(String message)
          throws IllegalStateException
Shudown daemon and log failed message.

Throws:
IllegalStateException

fail

void fail(Exception exception)
          throws IllegalStateException
Shudown daemon and log failed message.

Throws:
IllegalStateException

fail

void fail(String message,
          Exception exception)
          throws IllegalStateException
Shudown daemon and log failed message.

Throws:
IllegalStateException


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.