I coded it to return true for now as all of the existing transformers will copy data as a result of the data transformation. If we want to have finer control, we can add a flag method to the transformer to indicate if it allows pass by reference.

Thanks,
Raymond

----- Original Message ----- From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 19, 2008 7:32 PM
Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework


Raymond Feng wrote:
That was my intention to return true as the DTInterceptor will make sure the data passing is safe.


Is that always a correct assumption? I thought that it could depend on the nature of the transformation. Some transforms would copy or protect the data, some wouldn't...

--
Jean-Sebastien

---------------------------------------------------------------------
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]

Reply via email to