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

Chapter 8. Event-driven Applications with EventAdmin

The OSGi EventAdmin service provides a means to publish and receive events between bundles. This can be used to build applications that dynamically react to changes from external or internal sources.

This chapter will present the OSGi EventAdmin service and how it can be used to build decoupled applications. The EventAdmin service is an example of the whiteboard pattern, and therefore provides a means to loosely couple the components together.

Understanding the OSGi EventAdmin service

The OSGi EventAdmin service is described in the OSGi Compendium and OSGi Enterprise specifications in Chapter 113, Event Admin Service Specification. It provides a means to use a publish and subscribe mechanism to ...

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