Package play.inject

Class 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 Detail

      • ProviderTarget

        public ProviderTarget​(javax.inject.Provider<? extends T> provider)
      • ProviderTarget

        public ProviderTarget​(play.api.inject.ProviderTarget<T> underlying)
    • Method Detail

      • getProvider

        public javax.inject.Provider<? extends T> getProvider()
      • asScala

        public play.api.inject.ProviderTarget<T> asScala()
        Specified by:
        asScala in class BindingTarget<T>