Package org.apache.dubbo.qos.command
Class DefaultCommandExecutor
java.lang.Object
org.apache.dubbo.qos.command.DefaultCommandExecutor
- All Implemented Interfaces:
CommandExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandContext commandContext) Execute one command and return the execution result
-
Constructor Details
-
DefaultCommandExecutor
-
-
Method Details
-
execute
public String execute(CommandContext commandContext) throws NoSuchCommandException, PermissionDenyException Description copied from interface:CommandExecutorExecute one command and return the execution result- Specified by:
executein interfaceCommandExecutor- Parameters:
commandContext- command context- Returns:
- command execution result
- Throws:
NoSuchCommandExceptionPermissionDenyException
-