This element is deprecated. Use an application element instead.
Specifies a deployed lifecycle module. For more information about lifecycle modules, see the Oracle GlassFish Server 3.0.1 Application Development Guide.
The following table describes subelements for the lifecycle-module element.
Table 1–94 lifecycle-module Subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Contains a text description of this element. |
|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the lifecycle-module element.
Table 1–95 lifecycle-module Attributes
Attribute |
Default |
Description |
---|---|---|
none |
The name of the lifecycle module. |
|
none |
The fully qualified name of the lifecycle module’s class file, which must implement the com.sun.appserv.server.LifecycleListener interface. |
|
value of application-root attribute of domain element |
(optional) The classpath for the lifecycle module. Specifies where the module is located. |
|
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. |
|
false |
(optional) Determines whether the server is shut down if the lifecycle module fails. |
|
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. |