// by default invoke the start method, unless auto-start is disabled
boolean autoStart = XmlUtil.booleanEquals(element, "auto-start", Boolean.TRUE);
if (autoStart) {
InvokeOperation invokeStartOperation = new InvokeOperation();
invokeStartOperation.setMethodName("start");
descriptor.addOperation(invokeStartOperation);
}
// by default eager initialization is enabled
// descriptor.setInit(AbstractDescriptor.INIT_REQUIRED);