Class 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 Detail

      • SetExampleServiceMessage

        public SetExampleServiceMessage()
    • 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 interface AdminCommand
        Parameters:
        context - information