On 20/07/2011 10:37, ant elder wrote:
I think that one didn't make it in time to be considered.

Now that the OASIS code was changed to pass the
SCAClientFactory.newInstance properties on to the impl we might be
able to add a Tuscany specific property to support that. Eg something
like:

Properties p = new Properties();
p.addProperty("allowsPassByReference", "true");
SCAClientFactory.newInstance(p, domainURI).getService(...);

    ...ant

Ant,

Good suggestion.  I much prefer this compared with another change to the API.

This approach would permit other kinds of settings if the client implementation 
code wishes.

I note that the runtime (and hence also the client implementation) does not have to implement allowsPassByReference and can validly always treat everything as if remotable and hence using pass by value semantics. Hence not interpreting that property value is perfectly valid for other runtimes.


Yours,  Mike.

Reply via email to