Interface which must be implemented by an component implementation when the flag instanceFactory is set to true. Then the component is a factory which creates a service implementation.
instanceFactory
Creates a new service instance. The returned service instance is registered as a service at the app runtime.
Optional
Cleans up the service instance during shutdown.
Interface which must be implemented by an component implementation when the flag
instanceFactoryis set to true. Then the component is a factory which creates a service implementation.