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
invalid reference
ComponentFactory#FACTORY_NAME
servie property with the Component "factoryName" value.
Author:
Felix Project Team
  • Method Details

    • newInstance

      ComponentInstance newInstance(Dictionary<String,?> conf)
      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.