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.karaf.shell.console.CompletableFunction, org.osgi.service.command.Function

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
protected  org.apache.felix.gogo.commands.Action createNewAction()
           
 List<org.apache.karaf.shell.console.Completer> getCompleters()
           
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, releaseAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.osgi.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

protected org.apache.felix.gogo.commands.Action createNewAction()
                                                         throws Exception
Specified by:
createNewAction in class org.apache.felix.gogo.commands.basic.AbstractCommand
Throws:
Exception


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.