All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.inject.spi.ProviderInstanceBinding Maven / Gradle / Ivy

package com.google.inject.spi;

import com.google.inject.Binding;

import java.util.Set;

/**
 * A binding to a provider instance. The provider's {@code get} method is invoked to resolve
 * injections.
 */
public interface ProviderInstanceBinding extends Binding, HasDependencies {

    /**
     * Returns the user-supplied, unscoped provider.
     */
    javax.inject.Provider getUserSuppliedProvider();

    /**
     * Returns the field and method injection points of the provider, injected at injector-creation
     * time only.
     *
     * @return a possibly empty set
     */
    Set getInjectionPoints();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy