Hi all,

FYI, I've now checked gnu.classpath.ServiceFactory into cvs. Its purpose
is to load plug-in services that are specified via META-INF/services
resources (usually located in JAR files in the VM's extension directory).
By default, services will be loaded via the calling thread's context
class loader, but there's also a variant which takes an explicit
ClassLoader argument.

The following classes will need to be adjusted:

- java.nio.charset.Charset
- javax.print.PrintServiceLookup
- javax.print.StreamPrintServiceFactory
- javax.imageio.spi.ServiceRegistry (already done)
- (probably some more)

It would be good if the respective authors could do this...

Testing: The method javax.imageio.spi.ServiceRegistry.lookupProviders
exposes a public API for loading plug-in services. The Mauve testlets (in
the Mauve repository) run tests against this public API, not on the
Classpath-internal gnu.classpath.ServiceFactory.

Best regards,

-- Sascha

Sascha Brawer, [EMAIL PROTECTED], http://www.dandelis.ch/people/brawer/ 




_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to