Class ActiveMQCommand
- java.lang.Object
-
- org.apache.felix.gogo.commands.basic.AbstractCommand
-
- org.apache.activemq.karaf.commands.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 Summary
Fields Modifier and Type Field Description protected String
actionId
protected org.osgi.service.blueprint.container.BlueprintContainer
blueprintContainer
protected org.osgi.service.blueprint.container.Converter
blueprintConverter
protected List<org.apache.karaf.shell.console.Completer>
completers
-
Constructor Summary
Constructors Constructor Description ActiveMQCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.felix.gogo.commands.Action
createNewAction()
List<org.apache.karaf.shell.console.Completer>
getCompleters()
Map<String,org.apache.karaf.shell.console.Completer>
getOptionalCompleters()
protected org.apache.felix.gogo.commands.basic.ActionPreparator
getPreparator()
void
setActionId(String actionId)
void
setBlueprintContainer(org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer)
void
setBlueprintConverter(org.osgi.service.blueprint.container.Converter blueprintConverter)
void
setCompleters(List<org.apache.karaf.shell.console.Completer> completers)
-
Methods inherited from class org.apache.felix.gogo.commands.basic.AbstractCommand
execute, getActionClass, releaseAction
-
-
-
-
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
-
-
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 interfaceorg.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 classorg.apache.felix.gogo.commands.basic.AbstractCommand
- Throws:
Exception
-
createNewAction
public org.apache.felix.gogo.commands.Action createNewAction()
- Specified by:
createNewAction
in interfaceorg.apache.felix.gogo.commands.CommandWithAction
- Specified by:
createNewAction
in classorg.apache.felix.gogo.commands.basic.AbstractCommand
-
-