} else if (current instanceof CasConsumerDescription) {
mdList.add(((CasConsumerDescription) current).getMetaData().clone());
} else if (current instanceof FlowControllerDescription) {
mdList.add(((FlowControllerDescription) current).getMetaData().clone());
} else if (current instanceof TypeSystemDescription) {
ProcessingResourceMetaData md = new ProcessingResourceMetaData_impl();
md.setTypeSystem((TypeSystemDescription) current);
mdList.add(md);
} else if (current instanceof FsIndexCollection) {
ProcessingResourceMetaData md = new ProcessingResourceMetaData_impl();
md.setFsIndexCollection((FsIndexCollection) current);
mdList.add(md);
} else if (current instanceof TypePriorities) {
ProcessingResourceMetaData md = new ProcessingResourceMetaData_impl();
md.setTypePriorities((TypePriorities) current);
mdList.add(md);
} else if (current instanceof ResourceSpecifier) {
//try to instantiate the resource
Resource resource = null;
Map resourceMgrInMap = new HashMap();