tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Feng" <enjoyj...@gmail.com>
Subject Re: Bypassing unnecessary transforms by Tuscany databinding framework
Date Wed, 20 Feb 2008 01:19:16 GMT
That was my intention to return true as the DTInterceptor will make sure the 
data passing is safe.

Thanks,
Raymond

----- Original Message ----- 
From: "Scott Kurz" <scottkurz@gmail.com>
To: <tuscany-dev@ws.apache.org>
Sent: Tuesday, February 19, 2008 4:46 PM
Subject: Re: Bypassing unnecessary transforms by Tuscany databinding 
framework


> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


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


Mime
View raw message