org.apache.activemq.karaf.commands
Class ActiveMQCommand

java.lang.Object
  extended by org.apache.felix.gogo.commands.basic.AbstractCommand
      extended by org.apache.activemq.karaf.commands.ActiveMQCommand
All Implemented Interfaces:
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
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
ActiveMQCommand()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.felix.service.command.Function
execute
 

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


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.