Interface ComponentFactory<ExpectedServiceType>

Factory for dynamically creating components. A component factory is registered as service with interface ct.framework.api.ComponentFactory. The service metadata contain the component name, e.g. {"Component-Name": "Test"}.

interface ComponentFactory<ExpectedServiceType> {
    newInstance<ServiceType>(properties?): ComponentInstance<ServiceType>;
}

Type Parameters

Methods

Methods

Generated using TypeDoc