1.3. Dependency Injection Frameworks
OSGi framework extensions
- Blueprint—the blueprint extensor is based on the blueprint implementation from Apache Karaf.
- Spring—the Spring extensor is based on Spring Dynamic Modules (Spring-DM), which is the OSGi integration component from SpringSource.NoteThe Spring-DM module is now deprecated. If you need an injection framework with OSGi integration, use Blueprint instead.
Activating a framework
osgi:start) or de-activated (using the command,
osgi:stop). This gives the extenders a chance to scan the bundle, look for configuration files of the appropriate type and, if necessary, activate the dependency injection framework for that bundle.
Blueprint XML file location
Spring XML file location