concept component framework in category osgi

This is an excerpt from Manning's book OSGi in Action: Creating Modular Applications in Java.
In the previous section, you successfully mocked out the OSGi API and ran your tests without requiring a framework. Of course, the less you depend directly on an API, the easier it is to mock. It’s even easier if you use one of the component models from chapters 11 and 12, because your dependencies will be indirectly injected by the component framework. Such components rarely need to use the OSGi API themselves, so testing becomes a matter of reconfiguring bindings to inject mocked-out dependencies in place of the original instances. But as we discussed in section 7.1.1, eventually you’ll want to run tests on a real OSGi framework. These container tests typically don’t increase your code coverage—any unit and mocked-out tests should have already tested the critical paths. Instead, these tests verify that your code conforms to the container: is it packaged correctly, does it follow the container programming model, does it use standard APIs?
Table 12.4. Summary of component framework features
Feature
Declarative Services
Blueprint
iPOJO
Dependency injection Callback injection Yes Yes (but methods must be public) Yes Constructor injection No Yes No Field injection No No Yes Setter injection Yes Yes Yes Proxy injection No Yes Yes List injection No Yes Yes Nullable injection No No Yes Lifecycle Callbacks (activate/deactivate) Yes Yes Yes Factory pattern Yes Yes Yes Lazy initialization Yes Yes Yes Damping No Yes Yes Field synchronization No No Yes Component lifecycle control Yes Partial Yes Service lifecycle control No No Yes Configuration Property configuration No Yes Yes Field configuration No No Yes Configuration Admin Yes No Yes Services Custom attribute type No Yes Yes Lazy initialization Yes Yes Yes Composite services No No Yes Description approach XML Yes Yes Yes Java annotations No No Yes API No No Yes Nonfunctional Multiple providers Yes Yes No