ServiceLoader
From APIDesign
(Difference between revisions)
(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: | ||
- | * [ | + | * [[Javadoc]] of {{JDK|java/util|ServiceLoader}} |
- | * [http:// | + | * [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.