The canonical definition is in the OSGi Core specification section 1.3.4,
figure 1.5:
From your references. This one is sadly wrong:
https://jaxenter.de/osgi-enroute-1-0-hintergruende-architektur-best-practices-39709
This one used to be wrong once but was corrected last year (it was the source
of the JAX article)
https://enrouteclassic.github.io/doc/215-sos.html
As far as I know the SOS one caused a lot of confusion :-( I blame the enRoute
reviewers :-)
The best trick for me to remember is that the arrow points into the dependency
direction. For example:
A ——|>——— B
Means A depends on B. That is component A needs a service, component B
registers that service, component A then gets that service, and then component
A can call methods on that service. (It is also the direction of the call
flow.) Another trick is that a service ojbject has always 1 registrating bundle
but can have many getting bundles. N |> 1. (Notice that in the diagramming
technique we usually merge different registrators in the diagram)
Sorry for the (old) confusion I created. Hope this helps.
Kind regards,
Peter Kriens
> On 28 Jun 2018, at 15:57, Fauth Dirk (AA-AS/EIS2-EU) via osgi-dev
> <[email protected]> wrote:
>
> Hi,
>
> maybe a stupid question, but I am preparing my slides for the Java Forum
> Stuttgart about Remote Services, and remembered that Tim told me that my
> diagrams are incorrect, as the triangle is directing into the wrong direction.
>
> The big end should be on the producer side, while the cone end points to the
> consumer bundle.
> https://enrouteclassic.github.io/doc/215-sos.html
> https://jaxenter.de/osgi-enroute-1-0-hintergruende-architektur-best-practices-39709
>
> The architecture picture in the Remote Services chapter show the triangles
> differently.
> https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html
>
> Where is my misunderstanding? Is the picture incorrect, or does the picture
> show something different?
>
> Mit freundlichen Grüßen / Best regards
>
> Dirk Fauth
>
> Automotive Service Solutions, ESI application (AA-AS/EIS2-EU)
> Robert Bosch GmbH | Postfach 11 29 | 73201 Plochingen | GERMANY |
> www.bosch.com
> Tel. +49 7153 666-1155 | [email protected]
>
> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
> Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Dr. Volkmar
> Denner,
> Prof. Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr.
> Markus Heyn, Dr. Dirk Hoheisel,
> Christoph Kübel, Uwe Raschke, Peter Tyroller
>
>
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev