Javassist is used to generate
bytecode on the fly.

prop: is a binding like any other,
look at the source of the
org.apache.tapestry5.internal.bindings.PropBindingFactory

which in effect uses
PropertyConduitSourceImpl.create(targetClass, expression);
ehere expression is "foo"

Davor Hrg


On Wed, Aug 13, 2008 at 11:04 PM, Alex Kotchnev <[EMAIL PROTECTED]> wrote:

> The T5 main page (http://tapestry.apache.org/tapestry5/) indicates that
> reflection is virtually eliminated , which contributes to the improved
> performance of the framework.
>
> Can anybody point me to some resource (maybe source code, forum post) or
> give me a tip on how to see how this is done ? For example, if a component
> in a template specifies <t:textoutput value="prop:foo" /> or something
> similar, how is reflection avoided in resolving that the "getFoo" method
> needs to be called on the underlying component class ?
>
> Thanks,
>
> Alex Kotchnev
>

Reply via email to