I was initially thinking about the interceptors. But I realized that service
binding providers usually don't add an interceptor to the invocation chain.
Instead, they register a listener to the binding protocol layer to route the
call into SCA. If the service provider receives data from a transport and it
knows the data won't be mutated by reference, it should be able to express
it to help the runtime to bypass PBV.
Thanks,
Raymond
----- Original Message -----
From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 05, 2008 5:33 PM
Subject: Re: Bypassing unnecessary transforms by Tuscany databinding
framework
Raymond Feng wrote:
Let me try to propose the following fix:
1) Add new interface such as PassByValueProvider (please help me with a
better name) to the SPI.
public interface PassByValueProvider {
/**
* Indicate if the provider will enforce the pass-by-value semantics
*/
boolean isPassByValueEnforced(Operation op);
}
[snip]
How about having the interceptors optionally implement that kind of
interface instead of the providers?
--
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]