|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InstanceBinding<T>
A binding to a single instance. The same instance is returned for every injection.
| Method Summary | |
|---|---|
Set<InjectionPoint> |
getInjectionPoints()
Returns the field and method injection points of the instance, injected at injector-creation time only. |
T |
getInstance()
Returns the user-supplied instance. |
| Methods inherited from interface com.google.inject.Binding |
|---|
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider |
| Methods inherited from interface com.google.inject.spi.Element |
|---|
acceptVisitor, applyTo, getSource |
| Methods inherited from interface com.google.inject.spi.HasDependencies |
|---|
getDependencies |
| Method Detail |
|---|
T getInstance()
Set<InjectionPoint> getInjectionPoints()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||