The idea was to allow interceptors (or invokers) in the invocation chain to tell Tuscany runtime if passByReference is allowed. For example, the Java Invoker will return true if the target operation in the implementation class has @AllowsPassByReference. If one of the interceptors will copy data (for example, as part of data transformation), then there is no need for Invoker to do it again.

Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Tuesday, March 09, 2010 3:34 PM
To: <[email protected]>
Subject: Do we need the DataExchangeSemantics interface anymore?

Do we need the DataExchangeSemantics interface still after all the
binding sca and pass by value copy fixes? AFAICT nothing needs it now
and we have no tests or usecases or anything using it so is there any
reason to keep it?

...ant

Reply via email to