-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.2, 5.0, 6
-
b57
-
generic, x86, sparc
-
generic, linux, solaris_9, solaris_10
specifying pluggable "service providers" in a special META-INF file (see
http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html#Service%20Provider for
details). Many subsystems in the platform now use this feature, including
sound, security, networking, naming, new I/O, image I/O, printing, input
methods, and XML. Most (though not all) of these subsystems use the internal
sun.misc.Service class, which defines a simple mechanism for looking up
services and instantiating providers.
We should refine the sun.misc.Service class as needed and then promote it into
the java.util package. This will make it easier for both internal and external
developers to make use of the META-INF/services feature, which has become very
widely used.
- duplicates
-
JDK-5037220 sun.misc.Service should be generified
- Closed
-
JDK-4700172 Manifest standard for locating interface implementations
- Closed
-
JDK-5014358 RFE: sun.misc.Service should be in the supported public API, under java. *
- Closed
-
JDK-6305490 Create programmatic interface to Jar service provider interface
- Closed
- relates to
-
JDK-4485419 There should be easier pluggability for Java extensions
- Resolved
-
JDK-6321772 update java.rmi.server.RMIClassLoader to use java.util.Service
- Closed
-
JDK-4259309 sun.misc.Service.installedProviders should return singletons
- Open
-
JDK-4456679 Update java.nio.channels.spi.SelectorProvider to use java.util.ServiceLoader
- Closed