* @author Tom Baeyens
*/
public class AsyncCommandServiceBinding extends StandardCommandServiceBinding {
protected CommandService getCommandService(Element element, Parse parse, Parser parser) {
AsyncCommandService asyncCommandService = new AsyncCommandService();
if (element.hasAttribute("propagate-auth")) {
Boolean propagateUserId = XmlUtil.booleanEquals(element, "propagate-auth", Boolean.FALSE);
asyncCommandService.setPropagateUserId(propagateUserId);
}
return asyncCommandService;
}