|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.spi.ProvisionListener.ProvisionInvocation<T>
public abstract static class ProvisionListener.ProvisionInvocation<T>
Encapsulates a single act of provisioning.
| Constructor Summary | |
|---|---|
ProvisionListener.ProvisionInvocation()
|
|
| Method Summary | |
|---|---|
abstract Binding<T> |
getBinding()
Returns the Binding this is provisioning. |
abstract List<DependencyAndSource> |
getDependencyChain()
Returns the dependency chain that led to this object being provisioned. |
abstract T |
provision()
Performs the provision, returning the object provisioned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProvisionListener.ProvisionInvocation()
| Method Detail |
|---|
public abstract Binding<T> getBinding()
You must not call Provider.get() on the provider returned by
Binding.getProvider(), otherwise you will get confusing error messages.
public abstract T provision()
public abstract List<DependencyAndSource> getDependencyChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||