Package play.inject

Class ProviderConstructionTarget<T>


  • public final class ProviderConstructionTarget<T>
    extends BindingTarget<T>
    A binding target that is provided by a provider class.

    See the Module class for information on how to provide bindings.

    • Constructor Detail

      • ProviderConstructionTarget

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

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

      • getProvider

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

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