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.
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 ...