public class DefaultCommandExecutor extends Object implements CommandExecutor
CommandExecutor interface.| Constructor and Description |
|---|
DefaultCommandExecutor() |
public <T> T execute(Command<T> command) throws Exception
CommandExecutorCommand and returns the result.
If an retry behavior is specified this will be taken care of by the implementation as well.
execute in interface CommandExecutorException - If an error occurred while executing.Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.