Class SetExampleServiceMessage
- java.lang.Object
-
- fish.payara.service.example.config.admin.SetExampleServiceMessage
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-example-service-message") @PerLookup @ExecuteOn({DAS,INSTANCE}) public class SetExampleServiceMessage extends Object implements AdminCommand
Exemplar command for configuration updates. Example command that updates the configuration in the domain.xml Execution of the command will happen on all targeted instances and ALWAYS on the DAS. If the service is a ConfigListener it will be triggered to reconfigure itself from the config change on all targeted instances the service must be a ConfigListener and register itself for the config node it is interested in- Author:
- steve
-
-
Constructor Summary
Constructors Constructor Description SetExampleServiceMessage()
-
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
-
-