2.20.14 list-admin-objects
Gets all the administered objects.
Synopsis
asadmin [asadmin-options] list-admin-objects [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-admin-objects subcommand lists all the administered objects. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- target
-
Specifies the target for which administered objects are to be listed.
Type: String
The following values can be specified:
-
server
Lists the administered objects on the default server instance. This is the default value.
-
configuration-name
Lists the administered objects in the specified configuration.
-
cluster-name
Lists the administered objects on all server instances in the specified cluster.
-
instance-name
Lists the administered objects on a specified server instance.
Default value: server
-
Examples
The following example lists all the administered objects.
asadmin list-admin-objects
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |