en.help.ref-lifecyclemodulenew.html Maven / Gradle / Ivy
New Lifecycle Module
Use the New Lifecycle Module page to define a new lifecycle module.
The New Lifecycle Module page contains the following options.
- Name
The name of the lifecycle module.
- Class Name
The fully qualified name of the lifecycle module's class file. The class must implement the com.sun.appserv.server.LifecycleListener interface.
- Classpath
The classpath for the lifecycle module. The classpath specifies where the lifecycle module is located. The default value is domain-dir/applications. If the module is already in this directory (that is, in the server classpath), this field can be left blank.
- Load Order
The order in which this lifecycle module is to be loaded at startup. Modules with smaller integer load order values are loaded sooner. The value can range from 101 to the operating system's MAXINT. Values from 1 to 100 are reserved.
- Status
If this option is selected, the lifecycle module is enabled. This option is enabled by default.
- On Load Failure
If this option is selected, the server will be shut down if the lifecycle module fails to load. This option is disabled by default.
- Virtual Servers
The virtual server or servers to be associated with the lifecycle module. By default, no virtual server is selected.
- Description
A description of the lifecycle module.
- Additional Properties
Additional properties for the lifecycle module. The GlassFish Server does not define any additional properties for lifecycle modules.
Related Tasks
Related asadmin Commands