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
Author:
jessewilson@google.com (Jesse Wilson)

Method Summary
 void applyTo(Binder binder)
          Unsupported.
 PrivateElements getPrivateElements()
          Returns the enclosed environment that holds the original binding.
 
Methods inherited from interface org.elasticsearch.common.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
 
Methods inherited from interface org.elasticsearch.common.inject.spi.Element
acceptVisitor, getSource
 
Methods inherited from interface org.elasticsearch.common.inject.spi.HasDependencies
getDependencies
 

Method Detail

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


Copyright © 2009-2012. All Rights Reserved.