public Object execute(CharSequence cmdstr) throws Exception {
List<String> tokens = Arrays.asList(cmdstr.toString().split("\\s"));
List<Object> args = new ArrayList<Object>(tokens);
args.remove(0);
AbstractCommand command = (AbstractCommand) get(AbstractCommand.class.getName());
command.execute(this, args);
return null;
}
};
}
return commandSession;