}
protected CommandService getCommandService(Element element, Parse parse, Parser parser) {
if ( XmlUtil.attributeBoolean(element, "async", false, parse, Boolean.FALSE)) {
AsyncCommandService asyncCommandService = new AsyncCommandService();
if (XmlUtil.attributeBoolean(element, "propagate-auth", false, parse)) {
asyncCommandService.setPropagateUserId(true);
}
return asyncCommandService;
}
return new DefaultCommandService();