u.xmlDescriptor = cpeCasProcessor.getDescriptor();
u.cpeCasProcessor = cpeCasProcessor;
u.setInstanceName(cpeCasProcessor.getName());
u.xmlizableDescriptor = specifier;
if (specifier instanceof AnalysisEngineDescription) {
AnalysisEngineMetaData a = ((AnalysisEngineDescription) specifier).getAnalysisEngineMetaData();
u.setCasProcessorCategory(UimaCasProcessor.CASPROCESSOR_CAT_AE);
// u.setCasProcessorName(a.getName());
u.configParamDecls = a.getConfigurationParameterDeclarations();
u.configParamSettings = a.getConfigurationParameterSettings();
u.typePriorities = getTypePriorities(specifier, u.getResourceManager());
} else if (specifier instanceof CasConsumerDescription) {
ProcessingResourceMetaData p = ((CasConsumerDescription) specifier).getCasConsumerMetaData();
u.setCasProcessorCategory(UimaCasProcessor.CASPROCESSOR_CAT_CAS_CONSUMER);