dependency = new DefaultOsgiServiceDependency(beanName, importer.getUnifiedFilter(),
importer.getCardinality().isMandatory());
}
else {
OsgiServiceCollectionProxyFactoryBean importer = (OsgiServiceCollectionProxyFactoryBean) reference;
dependency = new DefaultOsgiServiceDependency(beanName, importer.getUnifiedFilter(),
importer.getCardinality().isMandatory());
}
beansCollections.add(dependency);
}