~/talk

OSGi CDI Integration Specification

Talkat EclipseCon Europe 2018 · 2018-10-23..10-25· [java]
slides:none on file

Spec defines how CDI maps to OSGi: publishes CDI beans as OSGi services with service types chosen by the spec, adds an @Reference analogue that supports mandatory/optional/multiple and greedy-by-default references, and maps CDI scopes to OSGi factories so dependent beans become bundle-scoped service factories or prototype factories. It layers a persistent container component under dynamic single and factory components, supports component property types and target filters, and integrates CDI portable extensions by registering them as OSGi services (extensions cannot be registered as CDI beans).

AI-written summary · about

  1. 0:00Start
  2. 1:30Why CDI in OSGi?
  3. 6:24But DS (Declarative Services)?
  4. 9:19Services: singleton
  5. 11:44Services: bundle
  6. 12:14Services: prototype
  7. 13:01References
  8. 13:11Cardinality: mandatory
  9. 13:42Cardinality: optional
  10. 14:15Cardinality: multiple
  11. 15:48Reference Policy: reluctant
  12. 16:45Dynamic: mandatory
  13. 17:27Dynamic: optional
  14. 17:55Dynamic: multiple
  15. 18:29Components
  16. 22:50OSGi Logger
  17. 23:05Configuration
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.