Package play.inject
Class ProviderTarget<T>
- Object
-
- play.inject.BindingTarget<T>
-
- play.inject.ProviderTarget<T>
-
public final class ProviderTarget<T> extends BindingTarget<T>
A binding target that is provided by a provider instance.See the
Module
class for information on how to provide bindings.
-
-
Constructor Summary
Constructors Constructor Description ProviderTarget(javax.inject.Provider<? extends T> provider)
ProviderTarget(play.api.inject.ProviderTarget<T> underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description play.api.inject.ProviderTarget<T>
asScala()
javax.inject.Provider<? extends T>
getProvider()
-
-
-
Method Detail
-
getProvider
public javax.inject.Provider<? extends T> getProvider()
-
asScala
public play.api.inject.ProviderTarget<T> asScala()
- Specified by:
asScala
in classBindingTarget<T>
-
-