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
 PrivateEnvironment getPrivateEnvironment()
          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

getPrivateEnvironment

PrivateEnvironment getPrivateEnvironment()
Returns the enclosed environment that holds the original binding.