Removes a managed thread factory resource with the specified JNDI name.
Synopsis
asadmin [asadmin-options] delete-managed-thread-factory [--help]
[--target target]
managed_thread_factory_name
Description
The delete-managed-thread-factory subcommand removes a managed thread
factory resource with the specified JNDI name.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadminhelp page. --help-?-
Displays the help text for the subcommand.
--target-
Specifies the target from which you are deleting the resource. Valid targets are:
server-
Deletes the resource from the default server instance. This is the default value.
domain-
Deletes the resource from the domain.
- cluster_name
-
Deletes the resource from every server instance in the specified cluster.
- instance_name
-
Deletes the resource from the specified server instance.
Examples
Example 1 Deleting a Managed Thread Factory Resource
This example deletes the managed thread factory resource named concurrent/myThreadFactory.
asadmin> delete-managed-thread-factory concurrent/Factory1
Managed thread factory concurrent/Factory1 deleted successfully.
Command delete-managed-thread-factory executed successfully.