Package fish.payara.jmx.monitoring.admin
Class GetJMXMonitoringConfiguration
- java.lang.Object
-
- fish.payara.jmx.monitoring.admin.GetJMXMonitoringConfiguration
-
- All Implemented Interfaces:
AdminCommand
@Service(name="get-jmx-monitoring-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG,DEPLOYMENT_GROUP}) public class GetJMXMonitoringConfiguration extends Object implements AdminCommand
Asadmin command to get the JMX monitoring service's current configuration and pretty print it to the shell.- Author:
- savage
-
-
Constructor Summary
Constructors Constructor Description GetJMXMonitoringConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Method that is invoked when the asadmin command is performed.
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Method that is invoked when the asadmin command is performed. Pretty prints the Monitoring Service Configuration values.- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
-
-
-