Sun GlassFish Enterprise Server v3 Domain File Format Reference

lifecycle-module

This element is deprecated. Use an application element instead.

Specifies a deployed lifecycle module. For more information about lifecycle modules, see the Sun GlassFish Enterprise Server v3 Application Development Guide.

Superelements

applications

Subelements

The following table describes subelements for the lifecycle-module element.

Table 1–94 lifecycle-module Subelements

Element 

Required 

Description 

description

zero or one 

Contains a text description of this element. 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the lifecycle-module element.

Table 1–95 lifecycle-module Attributes

Attribute 

Default 

Description 

name

none 

The name of the lifecycle module. 

class-name

none 

The fully qualified name of the lifecycle module’s class file, which must implement the com.sun.appserv.server.LifecycleListener interface.

classpath

value of application-root attribute of domain element

(optional) The classpath for the lifecycle module. Specifies where the module is located. 

load-order

none 

(optional) Determines the order in which lifecycle modules are loaded at startup. Modules with smaller integer values are loaded sooner. Values can range from 101 to the operating system’s MAXINT. Values from 1 to 100 are reserved.

is-failure-fatal

false

(optional) Determines whether the server is shut down if the lifecycle module fails. 

object-type

user

(optional) Defines the type of the resource. For a lifecycle module, the only allowed value is user.

enabled

true

(optional) Determines whether the lifecycle module is enabled.