You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2007/01/16 20:40:35 UTC
svn commit: r496834 - in
/incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation:
LoanClientImpl.java LoanService.java
Author: rineholt
Date: Tue Jan 16 11:40:35 2007
New Revision: 496834
URL: http://svn.apache.org/viewvc?view=rev&rev=496834
Log:
TUSCANY-1056
http://issues.apache.org/jira/browse/TUSCANY-1056
I guess the old default state was MODULE ? and now its stateless resulting in new conversation being creted. without setting it back to now COMPOSITE
Modified:
incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanClientImpl.java
incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanService.java
Modified: incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanClientImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanClientImpl.java?view=diff&rev=496834&r1=496833&r2=496834
==============================================================================
--- incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanClientImpl.java (original)
+++ incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanClientImpl.java Tue Jan 16 11:40:35 2007
@@ -19,7 +19,9 @@
package loanappconversation;
import org.osoa.sca.annotations.Reference;
+import org.osoa.sca.annotations.Scope;
+@Scope("COMPOSITE")
public class LoanClientImpl implements LoanClient {
private LoanService loanService;
Modified: incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanService.java?view=diff&rev=496834&r1=496833&r2=496834
==============================================================================
--- incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanService.java (original)
+++ incubator/tuscany/java/samples/sca/loanappconversationWSClient/src/main/java/loanappconversation/LoanService.java Tue Jan 16 11:40:35 2007
@@ -18,11 +18,13 @@
*/
package loanappconversation;
+import org.osoa.sca.annotations.AllowsPassByReference;
import org.osoa.sca.annotations.EndConversation;
import org.osoa.sca.annotations.OneWay;
import org.osoa.sca.annotations.Remotable;
import org.osoa.sca.annotations.Scope;
+@AllowsPassByReference // bypasses the PassByValueIntercept error.
@Scope("CONVERSATION")
@Remotable
public interface LoanService {
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org