This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
metaInfServices is nice and low cost concept - it allows registrations just by putting JAR files on classpath. No need for org-openide-fs or org-openide-loaders, etc. However for purposes of issue 98426 it would need a bit of generalization - an ability to search not only META-INF/services, but do the search for any other prefix. I'll attach a simple patch that does that.
Created attachment 39744 [details] Contains implementation of metaInfServices(prefix) lookup
The previous patch contains implementation of Lookups.metaInfServices(prefix), plus some additional stuff that can be ignored. Are there any objections against the new metaInfServices method?
I don't see what the intended purpose of this is. We already have too many registration mechanisms in NB, IMHO - this would just add one more.
*** This issue has been marked as a duplicate of 98426 ***