org.apache.tapestry5.ioc.internal.services
Class PropertyShadowBuilderImpl

java.lang.Object
  extended by org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl
All Implemented Interfaces:
PropertyShadowBuilder

public class PropertyShadowBuilderImpl
extends java.lang.Object
implements PropertyShadowBuilder


Constructor Summary
PropertyShadowBuilderImpl(PlasticProxyFactory proxyFactory, PropertyAccess propertyAccess)
           
 
Method Summary
<T> T
build(java.lang.Object source, java.lang.String propertyName, java.lang.Class<T> propertyType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyShadowBuilderImpl

public PropertyShadowBuilderImpl(@Builtin
                                 PlasticProxyFactory proxyFactory,
                                 PropertyAccess propertyAccess)
Method Detail

build

public <T> T build(java.lang.Object source,
                   java.lang.String propertyName,
                   java.lang.Class<T> propertyType)
Specified by:
build in interface PropertyShadowBuilder
Parameters:
source - the object from which a property will be extracted
propertyName - the name of a property of the object, which must be readable
propertyType - the expected type of the property, the actual property type must be assignable to this type
Returns:
the shadow


Copyright © 2003-2012 The Apache Software Foundation.