'. '

ServiceLoader

From APIDesign

(Difference between revisions)
Jump to: navigation, search
Current revision (14:00, 10 February 2015) (edit) (undo)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
[[JDK]] 6 [[API]] to do [[Component Injection]]. External reference:
[[JDK]] 6 [[API]] to do [[Component Injection]]. External reference:
-
* [http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html javadoc] of ServiceLoader
+
* [[Javadoc]] of {{JDK|java/util|ServiceLoader}}
-
* [http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider Service Provider] Specification
+
* [http://docs.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider Service Provider] Specification
 +
For dynamic environment it may be more appropriate to use independent [[Lookup]] library as the [[ClientAPI]] for access to [[ServiceLoader]] due to its support for change notification.

Current revision

JDK 6 API to do Component Injection. External reference:

For dynamic environment it may be more appropriate to use independent Lookup library as the ClientAPI for access to ServiceLoader due to its support for change notification.

Personal tools
buy