|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProviderBinding<T extends Provider<?>>
A binding to a Provider that delegates to the binding for the provided type. This binding
is used whenever a Provider<T> is injected (as opposed to injecting T directly).
| Method Summary | |
|---|---|
Key<?> |
getProvidedKey()
Returns the key whose binding is used to provide instances. |
| Methods inherited from interface com.google.inject.Binding |
|---|
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider |
| Methods inherited from interface com.google.inject.spi.Element |
|---|
acceptVisitor, applyTo, getSource |
| Method Detail |
|---|
Key<?> getProvidedKey()
provide instances. That binding
can be retrieved from an injector using Injector.getBinding(providedKey)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||