# Index

C D E F G H I L M O P R S T V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## C

check(String) - Static method in class org.apache.commons.daemon.support.DaemonLoader
Context() - Constructor for class org.apache.commons.daemon.support.DaemonLoader.Context
CONTROL - Static variable in class org.apache.commons.daemon.DaemonPermission
  The target name when associated with control actions ("control").
CONTROL_RELOAD - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action name associated with the permission to call the `DaemonController.reload()` method.
CONTROL_SHUTDOWN - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action name associated with the permission to call the `DaemonController.shutdown()` method.
CONTROL_START - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action name associated with the permission to call the `DaemonController.start()` method.
CONTROL_STOP - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action name associated with the permission to call the `DaemonController.stop()` method.

## D

Daemon - Interface in org.apache.commons.daemon
  Provides support for native daemon invocation.
DaemonConfiguration - Class in org.apache.commons.daemon.support
  Used by jsvc for Daemon configuration.
DaemonConfiguration() - Constructor for class org.apache.commons.daemon.support.DaemonConfiguration
  Default constructor
DaemonContext - Interface in org.apache.commons.daemon
  Defines a set of methods that a Daemon instance can use to communicate with the Daemon container.
DaemonController - Interface in org.apache.commons.daemon
  Defines methods needed by the DaemonLoader.
DaemonInitException - Exception Class in org.apache.commons.daemon
  Throw this during init if you can't initialise yourself for some expected reason.
DaemonInitException(String) - Constructor for exception class org.apache.commons.daemon.DaemonInitException
DaemonInitException(String, Throwable) - Constructor for exception class org.apache.commons.daemon.DaemonInitException
DaemonListener - Interface in org.apache.commons.daemon
  EvenListener type wrapper.
DaemonLoader - Class in org.apache.commons.daemon.support
  Used by jsvc for Daemon management.
DaemonLoader() - Constructor for class org.apache.commons.daemon.support.DaemonLoader
DaemonLoader.Context - Class in org.apache.commons.daemon.support
DaemonLoader.Controller - Class in org.apache.commons.daemon.support
DaemonPermission - Class in org.apache.commons.daemon
  Represents the permissions to control and query the status of a `Daemon`.
DaemonPermission(String) - Constructor for class org.apache.commons.daemon.DaemonPermission
  Creates a new `DaemonPermission` instance with a specified permission name.
DaemonPermission(String, String) - Constructor for class org.apache.commons.daemon.DaemonPermission
  Creates a new `DaemonPermission` instance with a specified permission name and a specified list of actions.
DaemonUserSignal - Interface in org.apache.commons.daemon
  Tags a Daemon as supporting some kind of signaling method that allows the java application to perform a custom action.
DaemonWrapper - Class in org.apache.commons.daemon.support
  Implementation of the Daemon that allows running standard applications as daemons.
DaemonWrapper() - Constructor for class org.apache.commons.daemon.support.DaemonWrapper
DEFAULT_CONFIG - Static variable in class org.apache.commons.daemon.support.DaemonConfiguration
  Default configuration file name.
destroy() - Method in interface org.apache.commons.daemon.Daemon
  Frees any resources allocated by this daemon such as file descriptors or sockets.
destroy() - Static method in class org.apache.commons.daemon.support.DaemonLoader
destroy() - Method in class org.apache.commons.daemon.support.DaemonWrapper

## E

equals(Object) - Method in class org.apache.commons.daemon.DaemonPermission
  Checks if a specified object equals `DaemonPermission`.

## F

fail() - Method in interface org.apache.commons.daemon.DaemonController
  Shuts down daemon and logs failed message.
fail() - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
fail(Exception) - Method in interface org.apache.commons.daemon.DaemonController
  Shuts down daemon and logs failed message.
fail(Exception) - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
fail(String) - Method in interface org.apache.commons.daemon.DaemonController
  Shuts down daemon and logs failed message.
fail(String) - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
fail(String, Exception) - Method in interface org.apache.commons.daemon.DaemonController
  Shuts down daemon and logs failed message.
fail(String, Exception) - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller

## G

getActions() - Method in class org.apache.commons.daemon.DaemonPermission
  Returns the list of actions permitted by this instance of `DaemonPermission` in its canonical form.
getArguments() - Method in interface org.apache.commons.daemon.DaemonContext
  Returns an array of `String` arguments supplied by the environment.
getArguments() - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
getController() - Method in interface org.apache.commons.daemon.DaemonContext
  Returns `DaemonController` object that can be used to control the `Daemon` instance that this `DaemonContext` is passed to.
getController() - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
getMessageWithCause() - Method in exception class org.apache.commons.daemon.DaemonInitException
getProperty(String) - Method in class org.apache.commons.daemon.support.DaemonConfiguration
  Gets the configuration property.
getPropertyArray(String) - Method in class org.apache.commons.daemon.support.DaemonConfiguration
  Gets the configuration property array.

## H

hashCode() - Method in class org.apache.commons.daemon.DaemonPermission
  Returns the hash code for this `DaemonPermission` instance.

## I

implies(Permission) - Method in class org.apache.commons.daemon.DaemonPermission
  Checks if this `DaemonPermission` implies another `Permission`.
init(DaemonContext) - Method in interface org.apache.commons.daemon.Daemon
  Initializes this `Daemon` instance.
init(DaemonContext) - Method in class org.apache.commons.daemon.support.DaemonWrapper
  Called from DaemonLoader on init stage.

## L

load(String) - Method in class org.apache.commons.daemon.support.DaemonConfiguration
  Loads the configuration properties file.
load(String, String[]) - Static method in class org.apache.commons.daemon.support.DaemonLoader

## M

MASK_CONTROL_RELOAD - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action mask associated with the permission to call the `DaemonController.reload()` method.
MASK_CONTROL_SHUTDOWN - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action mask associated with the permission to call the `DaemonController.shutdown()` method.
MASK_CONTROL_START - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action mask associated with the permission to call the `DaemonController.start()` method.
MASK_CONTROL_STOP - Static variable in class org.apache.commons.daemon.DaemonPermission
  The action mask associated with the permission to call the `DaemonController.stop()` method.

## O

org.apache.commons.daemon - package org.apache.commons.daemon
org.apache.commons.daemon.support - package org.apache.commons.daemon.support

## P

PREFIX - Static variable in class org.apache.commons.daemon.support.DaemonConfiguration
  Property prefix

## R

reload() - Method in interface org.apache.commons.daemon.DaemonController
  Reloads daemon
reload() - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller

## S

setArguments(String[]) - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
setController(DaemonController) - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
shutdown() - Method in interface org.apache.commons.daemon.DaemonController
  Shuts down the daemon.
shutdown() - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
signal() - Method in interface org.apache.commons.daemon.DaemonUserSignal
  Performs a custom action on received user signal.
signal() - Static method in class org.apache.commons.daemon.support.DaemonLoader
start() - Method in interface org.apache.commons.daemon.Daemon
  Starts the operation of this `Daemon` instance.
start() - Static method in class org.apache.commons.daemon.support.DaemonLoader
start() - Method in class org.apache.commons.daemon.support.DaemonWrapper
stop() - Method in interface org.apache.commons.daemon.Daemon
  Stops the operation of this `Daemon` instance.
stop() - Static method in class org.apache.commons.daemon.support.DaemonLoader
stop() - Method in class org.apache.commons.daemon.support.DaemonWrapper

## T

toString() - Method in class org.apache.commons.daemon.DaemonPermission
  Returns a `String` representation of this instance.
TYPE_CONTROL - Static variable in class org.apache.commons.daemon.DaemonPermission
  The target type when associated with control actions.

## V

version() - Static method in class org.apache.commons.daemon.support.DaemonLoader

## W

WILDCARD - Static variable in class org.apache.commons.daemon.DaemonPermission
  The "wildcard" action implying all actions for the given target name.

C D E F G H I L M O P R S T V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form