org.elasticsearch.common.inject.spi
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
getPrivateElements
PrivateElements getPrivateElements()
- Returns the enclosed environment that holds the original binding.
applyTo
void applyTo(Binder binder)
- Unsupported. Always throws
UnsupportedOperationException
.
- Specified by:
applyTo
in interface Element
- Parameters:
binder
- to apply configuration element to