C D E F G H I L M O P R S T V W

C

check(String) - Static method in class org.apache.commons.daemon.support.DaemonLoader
 
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
This interface 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
Interface which defines methods needed by the DaemonLoader.
DaemonInitException - Exception in org.apache.commons.daemon
Throw this during init if you can't initialise yourself for some expected reason.
DaemonInitException(String) - Constructor for exception org.apache.commons.daemon.DaemonInitException
 
DaemonInitException(String, Throwable) - Constructor for exception org.apache.commons.daemon.DaemonInitException
 
DaemonListener - Interface in org.apache.commons.daemon
EvenListener type wrapper.
DaemonLoader - Class in org.apache.commons.daemon.support
 
DaemonLoader() - Constructor for class org.apache.commons.daemon.support.DaemonLoader
 
DaemonLoader.Context - Class in org.apache.commons.daemon.support
 
DaemonLoader.Context() - Constructor for class org.apache.commons.daemon.support.DaemonLoader.Context
 
DaemonLoader.Controller - Class in org.apache.commons.daemon.support
 
DaemonPermission - Class in org.apache.commons.daemon
This class represents the permissions to control and query the status of a Daemon.
DaemonPermission(String) - Constructor for class org.apache.commons.daemon.DaemonPermission
Create a new DaemonPermission instance with a specified permission name.
DaemonPermission(String, String) - Constructor for class org.apache.commons.daemon.DaemonPermission
Create a new DaemonPermission instance with a specified permission name and a specified list of actions.
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
Free 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
Check if a specified object equals DaemonPermission.

F

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

G

getActions() - Method in class org.apache.commons.daemon.DaemonPermission
Return 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 org.apache.commons.daemon.DaemonInitException
 
getProperty(String) - Method in class org.apache.commons.daemon.support.DaemonConfiguration
Get the configuration property.
getPropertyArray(String) - Method in class org.apache.commons.daemon.support.DaemonConfiguration
Get the configuration property array.

H

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

I

implies(Permission) - Method in class org.apache.commons.daemon.DaemonPermission
Check if this DaemonPermission implies another Permission.
init(DaemonContext) - Method in interface org.apache.commons.daemon.Daemon
Initialize 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
Load 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
Reload 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
Shutdown the daemon.
shutdown() - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
 
start() - Method in interface org.apache.commons.daemon.Daemon
Start 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
Stop 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
Return 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

Copyright (c) 2002-2010 - Apache Software Foundation