Class ExampleConfigUpdateOnlyOnDAS

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="example-das-command")
    @PerLookup
    @ExecuteOn(INSTANCE)
    @TargetType(DAS)
    public class ExampleConfigUpdateOnlyOnDAS
    extends Object
    implements AdminCommand
    Example command that updates the correct configuration but runs ONLY on the DAS You can do this style of command if you only want to update the configuration and you don't care about updating the service dynamically in other running instances NOTE: If the service is a ConfigListener it will still be notified on the DAS that the configuration has changed
    Author:
    steve
    • Constructor Detail

      • ExampleConfigUpdateOnlyOnDAS

        public ExampleConfigUpdateOnlyOnDAS()
    • 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