ServiceLoader
From APIDesign
(Difference between revisions)
Line 2: | Line 2: | ||
* [http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html javadoc] of ServiceLoader | * [http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html javadoc] of ServiceLoader | ||
* [http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider Service Provider] Specification | * [http://java.sun.com/j2se/1.3/docs/guide/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. |
Revision as of 07:27, 14 May 2009
JDK 6 API to do Component Injection. External reference:
- javadoc of ServiceLoader
- 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.