org.glassfish.deployment.admin.delete-lifecycle-module.1 Maven / Gradle / Ivy
The newest version!
delete-lifecycle-module(1) asadmin Utility Subcommands delete-lifecycle-module(1)
NAME
delete-lifecycle-module - removes the lifecycle module
SYNOPSIS
delete-lifecycle-module [--help] [--target target] module_name
DESCRIPTION
The delete-lifecycle-module subcommand removes a lifecycle module. 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.
--target
Indicates the location where the lifecycle module is to be deleted.
Valid values are
* server- Specifies the default server instance as the target for
deleting the lifecycle module. server is the name of the
default server instance and is the default value for this
option.
* cluster_name- Specifies a particular cluster as the target for
deleting the lifecycle module.
* instance_name- Specifies a particular server instance as the
target for deleting the lifecycle module.
OPERANDS
module_name
This operand is a unique identifier for the deployed server
lifecycle event listener module.
EXAMPLES
Example 1, Deleting a Lifecycle Module
The following example deletes a lifecycle module named customSetup.
asadmin> delete-lifecycle-module customSetup
Command delete-lifecycle-module executed successfully
EXIT STATUS
0
command executed successfully
1
error in executing the command
SEE ALSO
create-lifecycle-module(1), list-lifecycle-modules(1)
asadmin(1M)
Jakarta EE 10 09 Aug 2017 delete-lifecycle-module(1)