The Dependency Manager provides a compact and versatile Java API that allows you to declaratively and programmatically register, acquire, and manage dynamic OSGi components.
http://felix.apache.org/documentation/subprojects/apache-felix-dependency-manager.html