O'Reilly logo

Mastering Eclipse Plug-in Development by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamic services

The OSGi specification defines the following four different layers:

  • Security Layer: All actions are checked against a security permissions model
  • Module Layer: Modules are specified as bundles that have dependencies
  • Life Cycle Layer: Bundles that come and go
  • Service Layer: Dynamic services that come and go

The services layer allows bundles to communicate by defining an API that can cross bundle layers. However, the services layer also allows the services to come and go dynamically, instead of being fixed at runtime.

This mechanism allows services to be exported over a network, and since the network can come and go (as can the remote endpoint), the OSGi services layer can replicate that same functionality.

Responding to services that dynamically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required