Closed GalLalouche closed 4 years ago
Guice's Injector has a Provider<T> getProvider(Class<T> type) method. It would be nice if InjectorExtensions would have a provider[T: Manifest]: Provider[T] method, similar to its instance[T: Manifest]: T methods.
Injector
Provider<T> getProvider(Class<T> type)
InjectorExtensions
provider[T: Manifest]: Provider[T]
instance[T: Manifest]: T
Guice's
Injector
has aProvider<T> getProvider(Class<T> type)
method. It would be nice ifInjectorExtensions
would have aprovider[T: Manifest]: Provider[T]
method, similar to itsinstance[T: Manifest]: T
methods.