com.google.inject.spi

Interface ProviderInstanceBinding<T>

  • All Superinterfaces:
    Binding<T>, Element, HasDependencies


    public interface ProviderInstanceBinding<T>
    extends Binding<T>, HasDependencies
    A binding to a provider instance. The provider's get method is invoked to resolve injections.
    Since:
    2.0
    Author:
    jessewilson@google.com (Jesse Wilson)
    • Method Detail

      • getUserSuppliedProvider

        javax.inject.Provider<? extends T> getUserSuppliedProvider()
        Returns the user-supplied, unscoped provider.
      • getInjectionPoints

        Set<InjectionPoint> getInjectionPoints()
        Returns the field and method injection points of the provider, injected at injector-creation time only.
        Returns:
        a possibly empty set

Copyright © 2006-2014 Google, Inc.. All Rights Reserved.