Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

list-lifecycle-modules

lists the lifecycle modules

Synopsis

list-lifecycle-modules [--help] [target]

Description

The list-lifecycle-modules subcommand lists lifecycle modules. A lifecycle module provides a means of running a short or long duration Java-based task at a specific stage in the server life cycle. This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

Operands

target

Indicates the location where lifecycle modules are to be listed. Valid values are

  • server- Specifies the default server instance as the target for listing lifecycle modules. server is the name of the default server instance and is the default value for this operand.

  • cluster_name- Specifies a particular cluster as the target for listing lifecycle modules.

  • instance_name- Specifies a particular server instance as the target for listing lifecycle modules.

Examples

Example 1   Listing Lifecycle Modules
asadmin> list-lifecycle-modules
WSTCPConnectorLCModule
Command list-lifecycle-modules executed successfully

WSTCPConnectorLCModule is the only lifecycle module listed for the default target, server.

Exit Status

0

command executed successfully

1

error in executing the command

See Also

create-lifecycle-module(1), delete-lifecycle-module(1)

asadmin(1M)