Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Image Added

...

From Peter Kriens' blog on

Wiki Markup

{link:Bundle-Service Diagrams | http://www.osgi.org/blog/2006/04/details-are-important-when-you-are.html}

...

{

...

link}

...

:

...

...

use

...

a

...

circle

...

for

...

a

...

bundle

...

and

...

a

...

triangle

...

for

...

a

...

service.

...

The

...

service

...

can

...

be

...

used

...

in

...

3

...

different

...

ways

...

by

...

a

...

bundle,

...

and

...

this

...

needs

...

to

...

be

...

depicted:

...

  1. Consumer

...

  1. -

...

  1. The

...

  1. bundle

...

  1. that

...

  1. gets

...

  1. the

...

  1. service

...

  1. is

...

  1. the

...

  1. consumer.

...

  1. The

...

  1. arrow

...

  1. from

...

  1. the

...

  1. bundle

...

  1. attaches

...

  1. to

...

  1. the

...

  1. horizontal

...

  1. or

...

  1. vertical

...

  1. line

...

  1. on

...

  1. a

...

  1. service

...

  1. triangle.

...

  1. An

...

  1. OSGi

...

  1. service

...

  1. can

...

  1. be

...

  1. consumed

...

  1. many

...

  1. times

...

  1. by

...

  1. any

...

  1. bundle.

...

  1. Many

...

  1. bundles

...

  1. can

...

  1. therefore

...

  1. connect

...

  1. to

...

  1. the

...

  1. horizontal

...

  1. or

...

  1. vertical

...

  1. line

...

  1. of

...

  1. the

...

  1. triangle.

...

  1. Implementer

...

  1. -

...

  1. The

...

  1. bundle

...

  1. that

...

  1. implements

...

  1. the

...

  1. service

...

  1. must

...

  1. register

...

  1. it.

...

  1. This

...

  1. is

...

  1. depicted

...

  1. by

...

  1. drawing

...

  1. a

...

  1. line

...

  1. to

...

  1. a

...

  1. corner

...

  1. of

...

  1. the

...

  1. triangle.

...

  1. An

...

  1. OSGi

...

  1. service

...

  1. can

...

  1. be

...

  1. registered

...

  1. many

...

  1. times

...

  1. by

...

  1. the

...

  1. same

...

  1. or

...

  1. different

...

  1. bundles.

...

  1. Listener

...

  1. -

...

  1. A

...

  1. listener

...

  1. bundle

...

  1. connects

...

  1. to

...

  1. one

...

  1. of

...

  1. the

...

  1. angled

...

  1. lines

...

  1. of

...

  1. the

...

  1. triangle.

...

  1. A

...

  1. listener

...

  1. is

...

  1. notified

...

  1. of

...

  1. registrations,

...

  1. modifications

...

  1. and

...

  1. unregistrations

...

  1. of

...

  1. the

...

  1. service.

...

  1. A

...

  1. service

...

  1. can

...

  1. have

...

  1. many

...

  1. listeners.

...

A

...

service

...

is

...

identified

...

by

...

its

...

interface

...

.

Materials

...

...

...

...

...

...