tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From isil...@apache.org
Subject svn commit: r497434 - /incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
Date Thu, 18 Jan 2007 14:02:01 GMT
Author: isilval
Date: Thu Jan 18 06:02:00 2007
New Revision: 497434

URL: http://svn.apache.org/viewvc?view=rev&rev=497434
Log:
Remove check for one-way and callback operation at the same time

Modified:
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java?view=diff&rev=497434&r1=497433&r2=497434
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
Thu Jan 18 06:02:00 2007
@@ -152,12 +152,6 @@
             Operation<?> inboundOperation = inboundChain.getOperation();
             boolean isOneWayOperation = operation.isNonBlocking();
             boolean operationHasCallback = contract.getCallbackName() != null;
-            if (isOneWayOperation && operationHasCallback) {
-                throw new IllegalCallbackException("Operation cannot be marked one-way and
have a callback",
-                    inboundOperation.getName(),
-                    sourceWire,
-                    targetWire);
-            }
             TargetInvoker invoker;
             if (target instanceof Component) {
                 Component component = (Component) target;



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


Mime
View raw message