ServiceLoader
From APIDesign
(Difference between revisions)
(New page: JDK 6 API to do Component Injection. External reference: [http://hudson.apidesign.org/hudson/job/lookup/org.apidesign$lookup/javadoc/ javadoc]) |
|||
(5 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:// | + | * [[Javadoc]] of {{JDK|java/util|ServiceLoader}} |
+ | * [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:
- 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.