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

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

package com.google.inject.spi;

import com.google.inject.Binding;

import java.util.Set;

/**
 * A binding to the constructor of a concrete clss. To resolve injections, an instance is
 * instantiated by invoking the constructor.
 *
 */
public interface ConstructorBinding extends Binding, HasDependencies {

    /**
     * Gets the constructor this binding injects.
     */
    InjectionPoint getConstructor();

    /**
     * Returns all instance method and field injection points on {@code type}.
     *
     * @return a possibly empty set of injection points. The set has a specified iteration order. All
     * fields are returned and then all methods. Within the fields, supertype fields are returned
     * before subtype fields. Similarly, supertype methods are returned before subtype methods.
     */
    Set getInjectableMembers();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy