Interface ExposedBinding<T>
- All Superinterfaces:
Binding<T>,Element,HasDependencies
- All Known Implementing Classes:
ExposedBindingImpl
public interface ExposedBinding<T> extends Binding<T>, HasDependencies
A binding to a key exposed from an enclosed private environment.
- Since:
- 2.0
-
Method Summary
Modifier and Type Method Description voidapplyTo(Binder binder)Unsupported.PrivateElementsgetPrivateElements()Returns the enclosed environment that holds the original binding.Methods inherited from interface org.elasticsearch.common.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProviderMethods inherited from interface org.elasticsearch.common.inject.spi.Element
acceptVisitor, getSourceMethods inherited from interface org.elasticsearch.common.inject.spi.HasDependencies
getDependencies
-
Method Details
-
getPrivateElements
PrivateElements getPrivateElements()Returns the enclosed environment that holds the original binding. -
applyTo
Unsupported. Always throwsUnsupportedOperationException.
-