S- Type of Service
@ProviderType public interface ComponentFactory<S>
factoryattribute on its
componentelement, Service Component Runtime will register a Component Factory service to allow new component configurations to be created and activated rather than automatically creating and activating component configuration as necessary.
ComponentInstance<S> newInstance(Dictionary<String,?> properties)
properties- Additional properties for the component configuration or
nullif there are no additional properties.
ComponentInstanceobject encapsulating the component instance of the component configuration. The component configuration has been activated and, if the component specifies a
serviceelement, the component instance has been registered as a service.
ComponentException- If Service Component Runtime is unable to activate the component configuration.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0