what is the difference between <osgi:reference> and <osgi:service> in spring DM
Asked Answered
G

1

8

what is the difference between <osgi:reference> and <osgi:service> in the xml config file of spring DM.

Gastrology answered 29/1, 2012 at 8:57 Comment(0)
A
16

<osgi:reference> can be used to get a reference to existing OSGi service so your bean can use it.

<osgi:service> can be used to export a bean as an OSGi service so it can be used by others.

Adenocarcinoma answered 29/1, 2012 at 9:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.