public abstract static class ProvisionListener.ProvisionInvocation<T> extends Object
Constructor and Description |
---|
ProvisionInvocation() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()