2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.implementation.java.injection
Class JavaPropertyValueObjectFactory
java.lang.Object
org.apache.tuscany.sca.implementation.java.injection.JavaPropertyValueObjectFactory
- All Implemented Interfaces:
- PropertyValueFactory
- Direct Known Subclasses:
- SpringPropertyValueObjectFactory
public class JavaPropertyValueObjectFactory
- extends java.lang.Object
- implements PropertyValueFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaPropertyValueObjectFactory
public JavaPropertyValueObjectFactory(Mediator mediator)
createValueFactory
public ObjectFactory createValueFactory(Property property,
java.lang.Object propertyValue,
JavaElementImpl javaElement)
createValueFactory
public ObjectFactory createValueFactory(Property property,
java.lang.Object propertyValue,
java.lang.Class javaType)
createPropertyValue
public <B> B createPropertyValue(ComponentProperty property,
java.lang.Class<B> type)
- This method will create an instance of the value for the specified Property.
- Specified by:
createPropertyValue
in interface PropertyValueFactory
- Type Parameters:
B
- Type type of the property value being looked up- Parameters:
property
- The Property from which to retrieve the property valuetype
- The type of the property value being retrieved from the Property
- Returns:
- the value for the Property