Class ProvisionListener.ProvisionInvocation<T>

  • Enclosing interface:

    public abstract static class ProvisionListener.ProvisionInvocation<T>
    extends Object
    Encapsulates a single act of provisioning.
    • Constructor Detail

      • ProvisionInvocation

        public ProvisionInvocation()
    • Method Detail

      • getBinding

        public abstract Binding<T> getBinding()
        Returns the Binding this is provisioning.

        You must not call Provider.get() on the provider returned by Binding.getProvider(), otherwise you will get confusing error messages.

      • provision

        public abstract T provision()
        Performs the provision, returning the object provisioned.