copy

open override fun copy(): SimpleServiceProvider

Creates a shallow copy of this service provider. The copy contains references to the same service instances but in separate maps.

Return

a new SimpleServiceProvider instance with copied service registrations