com.google.inject.spi
Interface ExposedBinding<T>

All Superinterfaces:
Binding<T>, Element, HasDependencies

public interface ExposedBinding<T>
extends Binding<T>, HasDependencies

A binding to a key exposed from an enclosed private environment.

Since:
2.0

Method Summary
 void applyTo(Binder binder)
          Unsupported.
 PrivateElements getPrivateElements()
          Returns the enclosed environment that holds the original binding.
 
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
 
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
 
Methods inherited from interface com.google.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