org.apache.commons.daemon

Interface DaemonContext

public interface DaemonContext

Defines a set of methods that a Daemon instance can use to communicate with the Daemon container.

Version: 1.0 (CVS $Revision: 155409 $)

Author: Pier Fumagalli Copyright © 2000-2001 The Apache Software Foundation. All rights reserved.

Method Summary
String[]getArguments()
Returns an array of String arguments supplied by the environment. corresponding to the array of arguments given in the public static void main() method used as an entry point to most other java programs.
DaemonControllergetController()
Returns DaemonController object that can be used to control the Daemon instance that this DaemonContext is passed to.

Method Detail

getArguments

public String[] getArguments()
Returns an array of String arguments supplied by the environment. corresponding to the array of arguments given in the public static void main() method used as an entry point to most other java programs.

getController

public DaemonController getController()
Returns DaemonController object that can be used to control the Daemon instance that this DaemonContext is passed to.
Copyright (c) 2001-2002 - Apache Software Foundation