parseIntAttribute(element, "history", descriptor, "historySize", parse);
parseIntAttribute(element, "lock", descriptor, "lockMillis", parse);
// by default invoke the start method, unless auto-start is disabled
if (XmlUtil.attributeBoolean(element, "auto-start", false, parse, true)) {
InvokeOperation invokeStartOperation = new InvokeOperation();
invokeStartOperation.setMethodName("start");
descriptor.addOperation(invokeStartOperation);
descriptor.setAutoStart(true);
descriptor.setInit(AbstractDescriptor.INIT_EAGER);
}