Interface ComputedValue<T>


public interface ComputedValue<T>
Provides an indirect, or computed, value. This is used for certain kinds of injection, where the exact value to be injected must be computed for each instance being instantiated, rather than for the class as a whole.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Computes or otherwise provides the value, given the instance's context.
  • Method Details

    • get

      T get(InstanceContext context)
      Computes or otherwise provides the value, given the instance's context.