ComponentFactoryImpl
extends the {@link org.apache.felix.scr.impl.manager.AbstractComponentManager}class to implement the component factory functionality. As such the OSGi Declarative Services ComponentFactory
interface is implemented. In addition the {@link org.apache.felix.scr.impl.config.ComponentHolder} interface is implemented to use thisclass directly as the holder for component instances created by the {@link #newInstance(java.util.Dictionary)} method.
Finally, if the ds.factory.enabled
bundle context property is set to true
, component instances can be created by factory configurations. This functionality is present for backwards compatibility with earlier releases of the Apache Felix Declarative Services implementation. But keep in mind, that this is non-standard behaviour.
|
|