use of org.osgi.service.metatype.MetaTypeInformation in project feature-flags-for-osgi by amitjoy.
the class ManagerHelper method getPIDs.
public static List<String> getPIDs(final Bundle bundle, final MetaTypeService metaTypeService) {
requireNonNull(bundle, "Bundle Instance cannot be null");
requireNonNull(metaTypeService, "MetaType Service Instance cannot be null");
final MetaTypeInformation metatypeInfo = metaTypeService.getMetaTypeInformation(bundle);
return ManagerHelper.asList(metatypeInfo.getPids());
}
Aggregations