2.26.2 delete-event-hook
The delete-event-hook subcommand unregisters the event hook command.
Synopsis
asadmin [asadmin_options] delete-event-hook event_hook_name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The delete-event-hook subcommand unregisters an event hook command.
This subcommand is supported only in the remote mode.
Execution permission
General user
Precondition
The event hook command has been registered.
Arguments
- event_hook_name
-
Specifies the name of the event hook command to be unregistered.
Type: String
You can specify the following values:
-
Name of an existing event hook command.
Default value: (None. You must specify a value.)
-
Examples
-
The following example unregisters the event hook command Event01:
asadmin delete-event-hook Event01
Exit Status
Exit Status |
Explanation |
---|---|
0 |
Normal termination. |
1 |
Abnormal termination. |