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
 T get(InstanceContext context)
          Computes or otherwise provides the value, given the instance's context.
 

Method Detail

get

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



Copyright © 2003-2012 The Apache Software Foundation.