org.apache.activemq.console.command
Interface Command

All Known Implementing Classes:
AbstractAmqCommand, AbstractCommand, AbstractJmxCommand, AmqBrowseCommand, AMQJournalToolCommand, BrowseCommand, BstatCommand, CreateCommand, DecryptCommand, EncryptCommand, ListCommand, PurgeCommand, QueryCommand, ShellCommand, ShutdownCommand, StartCommand, StopGracefullyCommand

public interface Command


Method Summary
 void execute(java.util.List<java.lang.String> tokens)
          Execute the specified command
 void setCommandContext(CommandContext context)
           
 

Method Detail

setCommandContext

void setCommandContext(CommandContext context)

execute

void execute(java.util.List<java.lang.String> tokens)
             throws java.lang.Exception
Execute the specified command

Parameters:
tokens - - arguments to the command
Throws:
java.lang.Exception


Copyright © 2005-2016. All Rights Reserved.