.getDelegateAnalysisEngineSpecifiers(createResourceManager()));
} catch (InvalidXMLException e) {
throw new ResourceInitializationException(e);
}
// get the metadata once, because it can be expensive to do
AnalysisEngineMetaData md = aeDescription.getAnalysisEngineMetaData();
// These come before setTypeSystemDescription call because that call
// invokes tcas validate, which uses the merged values for speedup
// Here we set them to values that won't cause errors. They're set to actual values below.
mergedFsIndexCollection = md.getFsIndexCollection();
mergedTypePriorities = md.getTypePriorities();
resolvedExternalResourcesAndBindings = aeDescription.getResourceManagerConfiguration();
resolvedFlowControllerDeclaration = aeDescription.getFlowControllerDeclaration();
setTypeSystemDescription(aeDescription.isPrimitive() ? md.getTypeSystem() : null);
// aggregates have null type system descriptors.
// If passed in one that isn't null, make it null.
// These come after setTypeSystemDescription call, even though
// that call invokeds tcas validate, which uses the merged values for speedup