Re: Service Provider mechanism and javax.imageio.spi.ServiceRegistry

Bertrand Delacretaz <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On 10/31/07, Bertrand Delacretaz <[email protected]> wrote:

> ...Someone mentioned off-list the java.util.ServiceLoader class, which
> looks like what I'm looking for, but it's available starting with Java
> 1.6 only....

and that page explains the story (hmm...mostly talking to myself today ;-):

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4640520

So the mysterious "Service" class in the jar spec example is
sun.misc.Service, which for some reason only morphed into
java.util.ServiceLoader for Java 6.

-Bertrand

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.