Return the service's current instance, creating it if necessary
Change the factory used to create the instance, or reset to the original/default factory if none given. Does not remove the current cached instance, if any: use unset() as well if you want it recreated on the next access.
Optionalfactory: ServiceFactory<T>Drop the active instance, to be recreated on demand
A configurable access point for a lazily-created service.