com.google.inject.spi

Interface ProviderBinding<T extends Provider<?>>

  • All Superinterfaces:
    Binding<T>, Element


    public interface ProviderBinding<T extends Provider<?>>
    extends Binding<T>
    A binding to a Provider that delegates to the binding for the provided type. This binding is used whenever a Provider<T> is injected (as opposed to injecting T directly).
    Since:
    2.0
    Author:
    jessewilson@google.com (Jesse Wilson)

Copyright © 2006–2020 Google, Inc.. All rights reserved.