Package org.apache.felix.dm.runtime.api
Interface ComponentFactory
- All Known Implementing Classes:
ComponentFactoryImpl
public interface ComponentFactory
When a Component is annotated with a DM "Component" annotation with a "factoryName" attribute, a corresponding
ComponentFactory is registered in the OSGi service registry with a @link
servie property with the Component "factoryName" value.
invalid reference
ComponentFactory#FACTORY_NAME
- Author:
- Felix Project Team
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance(Dictionary<String, ?> conf) Instantiates a Component instance.
-
Method Details
-
newInstance
Instantiates a Component instance. Any properties starts with a "." are considered as private. Other properties will be published as the component instance service properties (if the component provides a services).- Parameters:
conf- the properties passed to the component "configure" method which is specified with the "configure" attribute of the @Component annotation.- Returns:
- the component instance.
-