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

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

package com.google.inject.spi;

import com.google.inject.Binder;
import com.google.inject.Binding;

/**
 * A binding to a key exposed from an enclosed private environment.
 *
 */
public interface ExposedBinding extends Binding, HasDependencies {

    /**
     * Returns the enclosed environment that holds the original binding.
     */
    PrivateElements getPrivateElements();

    /**
     * Unsupported. Always throws {@link UnsupportedOperationException}.
     */
    void applyTo(Binder binder);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy