[MODULES-158] Resource discovery compliant with OSGi R5 BundleWiring.listResources()