public interface

ProviderInstanceBinding

implements Binding<T> HasDependencies
com.google.inject.spi.ProviderInstanceBinding<T>

Class Overview

A binding to a provider instance. The provider's get method is invoked to resolve injections.

Summary

Public Methods
abstract Set<InjectionPoint> getInjectionPoints()
Returns the field and method injection points of the provider, injected at injector-creation time only.
abstract Provider<? extends T> getProviderInstance()
Returns the user-supplied, unscoped provider.
[Expand]
Inherited Methods
From interface com.google.inject.Binding
From interface com.google.inject.spi.Element
From interface com.google.inject.spi.HasDependencies

Public Methods

public abstract Set<InjectionPoint> getInjectionPoints ()

Returns the field and method injection points of the provider, injected at injector-creation time only.

Returns
  • a possibly empty set

public abstract Provider<? extends T> getProviderInstance ()

Returns the user-supplied, unscoped provider.