tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Sebastien Delfino <jsdelf...@apache.org>
Subject Re: Bypassing unnecessary transforms by Tuscany databinding framework
Date Wed, 20 Feb 2008 01:13:14 GMT
Scott Kurz wrote:
> On Feb 19, 2008 7:03 PM, Jean-Sebastien Delfino <jsdelfino@apache.org> wrote:
>>>> I still wonder whether it's a good or bad assumption to assume the
>>> DTInterceptor always does a copy, since I found a use for it when it
>>> did not (but again that was a more ugly use).
>> I wouldn't make that assumption as it depends on the nature of the
>> transformation but with the new design the interceptor gets to decide
>> and give the proper answer, no assumption is needed.
>> --
>> Jean-Sebastien
> Not sure if I got my last point across.   I was pointing out that
> DTInterceptor now has hard-coded:
>     public boolean allowsPassByReference() {
>         return true;
>     }
> This implies that if DTInterceptor is set up on the wire, the
> PBVInterceptor will never do a copy.   If you don't agree
> with that assumption either then maybe the code should be changed.

We're talking about the same thing, I'm not sure that DTInterceptor 
should always return true without looking at the nature of the 
transformation :)


To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org

View raw message