Package org.apache.tapestry5.plastic

# 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:
  - `PlasticField.injectComputed(ComputedValue)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `get(InstanceContext context)`
  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.