Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.daemon
Interface DaemonContext

All Known Implementing Classes:
  DaemonLoader.Context

    public interface DaemonContext

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

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

Method Summary
`java.lang.String[]` | `getArguments()` Returns an array of `String` arguments supplied by the environment.
`DaemonController` | `getController()` Returns `DaemonController` object that can be used to control the `Daemon` instance that this `DaemonContext` is passed to.

Method Detail

### getController

    DaemonController getController()

  Returns `DaemonController` object that can be used to control the `Daemon` instance that this `DaemonContext` is passed to.

### getArguments

    java.lang.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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2002-2011 - Apache Software Foundation