Sun Java System Web Server 7.0 Administrator's Configuration File Reference

lifecycle-module

The lifecycle-module element configures a Java server lifecycle module, a user-defined class that implements com.sun.appserv.server.LifecycleListener. This element may appear zero or more times within the server element. For more information, see server.

Subelements

The lifecycle-module element can contain the following subelements:

Table 3–30 List of lifecycle-modules Subelements

Element 

Occurrences 

Description 

enabled

0 or 1 

Determines whether the lifecycle module is enabled at runtime. The default value is true.

name

1 

The name that uniquely identifies the lifecycle module. 

class

1 

The class that implements the lifecycle module. The value is the name of a class that implements com.sun.appserv.server.LifecycleListener.

load-order

0 or 1 

The order in which the lifecycle module is loaded. It is recommended that you choose a load-order value that is greater than or equal to 100 to avoid conflicts with internal lifecycle modules. The value can be from 0 to 2147483647. Values from 0 to 99 are reserved for internal use. 

is-failure-fatal

0 or 1 

Determines whether the server should treat exceptions thrown during lifecycle module initialization as fatal. The default value is true.

class-path

0 or 1 

The classpath for the lifecycle module. 

property

0 or more 

Configures optional lifecycle-module-specific properties. For more details, see property.

description

0 or 1 

The description of the resource.