org.apache.tapestry5.services
Interface ComponentValueProvider<T>

Type Parameters:
T - type of object provided

Deprecated. Deprecated in 5.3, using Plastic equivalents

public interface ComponentValueProvider<T>

An object used to provide a value of a specific type to a component (represented by an instance of ComponentResources). The provider will create and return the value (some providers may be smart enough to cache a value, but should be implemented in a thread-safe manner). Often the provider is an inner class of a ComponentClassTransformWorker.

Since:
5.2.0
See Also:
PlasticField, ComputedValue

Method Summary
 T get(ComponentResources resources)
          Deprecated. Provide the object for the indicated component.
 

Method Detail

get

T get(ComponentResources resources)
Deprecated. 
Provide the object for the indicated component.

Parameters:
resources - Identifies the component
Returns:
the object


Copyright © 2003-2012 The Apache Software Foundation.