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 17:47:04 UTC

svn commit: r496758 - in /incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation: LoanService.java LoanServiceImpl.java

Author: rineholt
Date: Tue Jan 16 08:47:04 2007
New Revision: 496758

URL: http://svn.apache.org/viewvc?view=rev&rev=496758
Log:
bypasses the PassByValueIntercept error.
find other issues

Modified:
    incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanService.java
    incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanServiceImpl.java

Modified: incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanService.java?view=diff&rev=496758&r1=496757&r2=496758
==============================================================================
--- incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanService.java (original)
+++ incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanService.java Tue Jan 16 08:47:04 2007
@@ -18,6 +18,7 @@
  */
 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;
@@ -25,6 +26,7 @@
 
 @Scope("CONVERSATION")
 @Remotable
+@AllowsPassByReference // bypasses the PassByValueIntercept error.
 public interface LoanService {
     //prim void apply(LoanApplication application);
     void apply(String customerName,  float loanAmount);

Modified: incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanServiceImpl.java?view=diff&rev=496758&r1=496757&r2=496758
==============================================================================
--- incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanServiceImpl.java (original)
+++ incubator/tuscany/java/samples/sca/loanappconversationWS/src/main/java/loanappconversation/LoanServiceImpl.java Tue Jan 16 08:47:04 2007
@@ -18,11 +18,13 @@
  */
 package loanappconversation;
 
+import org.osoa.sca.annotations.AllowsPassByReference;
 import org.osoa.sca.annotations.Remotable;
 import org.osoa.sca.annotations.Scope;
 import org.osoa.sca.annotations.Service;
 
 @Scope("CONVERSATION")
+@AllowsPassByReference // bypasses the PassByValueIntercept error.
 @Remotable
 @Service(LoanService.class)
 public class LoanServiceImpl implements LoanService {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org