Index

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

A

addArguments(String[]) - Method in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
args - Variable in class org.apache.commons.daemon.support.DaemonLoader.Context
 
args - Variable in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
ARGS - Static variable in class org.apache.commons.daemon.support.DaemonWrapper
 
available - Variable in class org.apache.commons.daemon.support.DaemonLoader.Controller
 

B

BTOKEN - Static variable in class org.apache.commons.daemon.support.DaemonConfiguration
 

C

call - Variable in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
check(String) - Static method in class org.apache.commons.daemon.support.DaemonLoader
Checks whether the given class name can be instantiated with a zero-argument constructor.
config - Variable in class org.apache.commons.daemon.support.DaemonWrapper
 
configFileName - Variable in class org.apache.commons.daemon.support.DaemonWrapper
 
configurationProperties - Variable in class org.apache.commons.daemon.support.DaemonConfiguration
 
Context() - Constructor for class org.apache.commons.daemon.support.DaemonLoader.Context
Constructs a new instance.
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.
controller - Static variable in class org.apache.commons.daemon.support.DaemonLoader
 
Controller() - Constructor for class org.apache.commons.daemon.support.DaemonLoader.Controller
 
createControlActions(int) - Method in class org.apache.commons.daemon.DaemonPermission
Creates an actions list for a given control permission mask.
createControlMask(String) - Method in class org.apache.commons.daemon.DaemonPermission
Creates a permission mask for a given control actions string.

D

daemon - Static variable in class org.apache.commons.daemon.support.DaemonLoader
 
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 - Variable in class org.apache.commons.daemon.support.DaemonLoader.Context
 
DaemonController - Interface in org.apache.commons.daemon
Defines methods needed by the DaemonLoader.
DaemonInitException - Exception in org.apache.commons.daemon
Throw this during init if you can't initialize yourself for some expected reason.
DaemonInitException(String) - Constructor for exception org.apache.commons.daemon.DaemonInitException
Constructs a new exception with the given message.
DaemonInitException(String, Throwable) - Constructor for exception org.apache.commons.daemon.DaemonInitException
Constructs a new exception with the given detail and cause.
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
Constructs a new instance.
DaemonLoader.Context - Class in org.apache.commons.daemon.support
A concrete DaemonContext that acts as a simple value container.
DaemonLoader.Controller - Class in org.apache.commons.daemon.support
A DaemonController that acts on the global DaemonLoader state.
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
Constructs a new initialized instance.
DaemonWrapper.Invoker - Class in org.apache.commons.daemon.support
 
DEFAULT_CONFIG - Static variable in class org.apache.commons.daemon.support.DaemonConfiguration
Default configuration file name.
desc - Variable in class org.apache.commons.daemon.DaemonPermission
The String representation of this permission object.
destroy - Static variable in class org.apache.commons.daemon.support.DaemonLoader
 
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
Invokes the wrapped destroy method.
destroy() - Method in class org.apache.commons.daemon.support.DaemonWrapper
 

E

EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.daemon.support.DaemonConfiguration
An empty immutable String array.
equals(Object) - Method in class org.apache.commons.daemon.DaemonPermission
Checks if a specified object equals DaemonPermission.
ETOKEN - Static variable in class org.apache.commons.daemon.support.DaemonConfiguration
 
expandProperty(String) - Method in class org.apache.commons.daemon.support.DaemonConfiguration
 

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
 
failed(String) - Static method in class org.apache.commons.daemon.support.DaemonLoader
 

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
Gets 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.
getArguments() - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
 
getController() - Method in interface org.apache.commons.daemon.DaemonContext
Gets a 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
Gets the message with the cause as a postfix.
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 - Static variable in class org.apache.commons.daemon.support.DaemonLoader
 
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.
inst - Variable in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
invoke() - Method in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
Invoker() - Constructor for class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
isAvailable() - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
 

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
Loads the given class by name, initializing wrapper methods.

M

main - Variable in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
mask - Variable in class org.apache.commons.daemon.DaemonPermission
The permission mask associated with this permission object.
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.

N

name - Variable in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 

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

serialVersionUID - Static variable in exception org.apache.commons.daemon.DaemonInitException
 
serialVersionUID - Static variable in class org.apache.commons.daemon.DaemonPermission
 
setArguments(String[]) - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
Sets arguments.
setAvailable(boolean) - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
 
setClassName(String) - Method in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
setController(DaemonController) - Method in class org.apache.commons.daemon.support.DaemonLoader.Context
Sets the daemon controller.
setMethodName(String) - Method in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
setupDescription() - Method in class org.apache.commons.daemon.DaemonPermission
Creates a String description for this permission instance.
shutdown - Variable in class org.apache.commons.daemon.support.DaemonWrapper
 
shutdown() - Method in interface org.apache.commons.daemon.DaemonController
Shuts down the daemon.
shutdown() - Method in class org.apache.commons.daemon.support.DaemonLoader.Controller
 
shutdown(boolean) - Static method in class org.apache.commons.daemon.support.DaemonLoader
 
signal - Static variable in class org.apache.commons.daemon.support.DaemonLoader
 
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
Invokes the wrapped signal method.
start - Static variable 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
Invokes the wrapped start method.
start() - Method in class org.apache.commons.daemon.support.DaemonWrapper
 
START_CLASS - Static variable in class org.apache.commons.daemon.support.DaemonWrapper
 
START_METHOD - Static variable in class org.apache.commons.daemon.support.DaemonWrapper
 
startup - Variable in class org.apache.commons.daemon.support.DaemonWrapper
 
stop - Static variable in class org.apache.commons.daemon.support.DaemonLoader
 
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
Invokes the wrapped stop method.
stop() - Method in class org.apache.commons.daemon.support.DaemonWrapper
 
STOP_ARGS - Static variable in class org.apache.commons.daemon.support.DaemonWrapper
 
STOP_CLASS - Static variable in class org.apache.commons.daemon.support.DaemonWrapper
 
STOP_METHOD - Static variable in class org.apache.commons.daemon.support.DaemonWrapper
 
systemProperties - Variable in class org.apache.commons.daemon.support.DaemonConfiguration
 

T

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

V

validate() - Method in class org.apache.commons.daemon.support.DaemonWrapper.Invoker
 
version() - Static method in class org.apache.commons.daemon.support.DaemonLoader
Prints version information to System.err.

W

WILDCARD - Static variable in class org.apache.commons.daemon.DaemonPermission
The "wildcard" action implying all actions for the given target name.
A B C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form