return ImporterControllerUtils.getControllerFor(importer).isSatisfied();
}
private boolean isMandatory(Object importer) {
if (importer instanceof AbstractOsgiServiceImportFactoryBean) {
AbstractOsgiServiceImportFactoryBean imp = (AbstractOsgiServiceImportFactoryBean) importer;
return imp.getCardinality().isMandatory();
}
return false;
}