org.apache.tuscany.sca.context
Interface PropertyValueFactory

All Known Implementing Classes:
JavaPropertyValueObjectFactory, SpringPropertyValueObjectFactory

public interface PropertyValueFactory

Interface implemented by the provider of the property values


Method Summary
<B> B
createPropertyValue(ComponentProperty property, java.lang.Class<B> type)
          This method will create an instance of the value for the specified Property.
 

Method Detail

createPropertyValue

<B> B createPropertyValue(ComponentProperty property,
                          java.lang.Class<B> type)
This method will create an instance of the value for the specified Property.

Type Parameters:
B - Type type of the property value being looked up
Parameters:
property - The Property from which to retrieve the property value
type - The type of the property value being retrieved from the Property
Returns:
the value for the Property