3.5. The Framework
The framework provides a hosting environment for bundles. Its responsibilities are
Managing the life cycle of bundles
Resolving interdependencies among bundles and making classes and resources available from a bundle
Maintaining a registry of services
Firing events and notifying listeners when a bundle's state changes, when a service is registered or unregistered, or when the framework is launched or raises an error
The framework is the common ground where all installed bundles and registered services come to play. It is agnostic to the specific applications of individual bundles, and is only concerned with the generic housekeeping for all bundles. The framework's functionality is best illustrated when we describe how the framework ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access