Class ActiveMQCommand

  • All Implemented Interfaces:
    org.apache.felix.gogo.commands.CommandWithAction, org.apache.felix.service.command.Function, org.apache.karaf.shell.console.CompletableFunction

    public class ActiveMQCommand
    extends org.apache.felix.gogo.commands.basic.AbstractCommand
    implements org.apache.karaf.shell.console.CompletableFunction
    Base command to process options and wrap native ActiveMQ console commands.
    • Field Detail

      • blueprintContainer

        protected org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer
      • blueprintConverter

        protected org.osgi.service.blueprint.container.Converter blueprintConverter
      • actionId

        protected String actionId
      • completers

        protected List<org.apache.karaf.shell.console.Completer> completers
    • Constructor Detail

      • ActiveMQCommand

        public ActiveMQCommand()
    • Method Detail

      • setBlueprintContainer

        public void setBlueprintContainer​(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
      • setBlueprintConverter

        public void setBlueprintConverter​(org.osgi.service.blueprint.container.Converter blueprintConverter)
      • setActionId

        public void setActionId​(String actionId)
      • getCompleters

        public List<org.apache.karaf.shell.console.Completer> getCompleters()
        Specified by:
        getCompleters in interface org.apache.karaf.shell.console.CompletableFunction
      • setCompleters

        public void setCompleters​(List<org.apache.karaf.shell.console.Completer> completers)
      • getPreparator

        protected org.apache.felix.gogo.commands.basic.ActionPreparator getPreparator()
                                                                               throws Exception
        Overrides:
        getPreparator in class org.apache.felix.gogo.commands.basic.AbstractCommand
        Throws:
        Exception
      • createNewAction

        public org.apache.felix.gogo.commands.Action createNewAction()
        Specified by:
        createNewAction in interface org.apache.felix.gogo.commands.CommandWithAction
        Specified by:
        createNewAction in class org.apache.felix.gogo.commands.basic.AbstractCommand
      • getOptionalCompleters

        public Map<String,​org.apache.karaf.shell.console.Completer> getOptionalCompleters()
        Specified by:
        getOptionalCompleters in interface org.apache.karaf.shell.console.CompletableFunction