Package fish.payara.admin.amx.cli
Class SetAmxEnabled
- java.lang.Object
-
- fish.payara.admin.amx.cli.SetAmxEnabled
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-amx-enabled") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,DEPLOYMENT_GROUP,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG}) public class SetAmxEnabled extends Object implements AdminCommand
Comment to enable AMX, as separate from JMX.Note that while AMX can be started dynamically, it cannot be stopped dynamically and requires a server restart.
- Since:
- 4.1.2.182
- Author:
- jonathan coustick
-
-
Constructor Summary
Constructors Constructor Description SetAmxEnabled()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-