com.alibaba.dubbo.qos.command
Class DefaultCommandExecutor

java.lang.Object
  extended by com.alibaba.dubbo.qos.command.DefaultCommandExecutor
All Implemented Interfaces:
CommandExecutor

public class DefaultCommandExecutor
extends Object
implements CommandExecutor

Author:
qinliujie

Constructor Summary
DefaultCommandExecutor()
           
 
Method Summary
 String execute(CommandContext commandContext)
           执行一个命令,返回对应命令执行的结果
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommandExecutor

public DefaultCommandExecutor()
Method Detail

execute

public String execute(CommandContext commandContext)
               throws NoSuchCommandException
Description copied from interface: CommandExecutor
 执行一个命令,返回对应命令执行的结果
 

Specified by:
execute in interface CommandExecutor
Parameters:
commandContext - 命令
Returns:
Throws:
NoSuchCommandException


Copyright © 2012–2017 Alibaba. All rights reserved.