Returns a factory for creating the service.
Writes the service information into the given registry key.
This inner class provides the component as a concrete implementation
of the service description.
We need to get the Service Manager from the Component context to
instatiate certain services, hence this constructor.