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" <[EMAIL PROTECTED]>
To: <[email protected]>
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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]