tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r572770 - in /incubator/tuscany/java/sca/modules: assembly/src/main/java/org/apache/tuscany/sca/assembly/WireableBinding.java core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
Date Tue, 04 Sep 2007 18:51:45 GMT
Author: jsdelfino
Date: Tue Sep  4 11:51:43 2007
New Revision: 572770

URL: http://svn.apache.org/viewvc?rev=572770&view=rev
Log:
Mark getCallableReference and WireableBinding as deprecated as they are likely to disappear
in 1.0.

Modified:
    incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/WireableBinding.java
    incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java

Modified: incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/WireableBinding.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/WireableBinding.java?rev=572770&r1=572769&r2=572770&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/WireableBinding.java
(original)
+++ incubator/tuscany/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/WireableBinding.java
Tue Sep  4 11:51:43 2007
@@ -22,7 +22,18 @@
  * Represent a binding that supports SCA wiring between component references and services
  * 
  * @version $Rev$ $Date$
+ * 
+ * @deprecated To be factored in the base Binding as reported in TUSCANY-1534:
+ * 
+ * - all bindings should be "wireable", i.e. can be configured using an SCA wire
+ * 
+ * - only some bindings will care about pointers to the in-memory model objects
+ * representing the target component, service and binding
+ * 
+ * - all this stuff is only relevant for references so it's confusing to have it on
+ * bindings which apply to services as well.
  */
+@Deprecated
 public interface WireableBinding extends Binding, Cloneable {
 
     /**

Modified: incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java?rev=572770&r1=572769&r2=572770&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
(original)
+++ incubator/tuscany/java/sca/modules/core-spi/src/main/java/org/apache/tuscany/sca/invocation/Message.java
Tue Sep  4 11:51:43 2007
@@ -149,14 +149,18 @@
      * Get the associated callable reference
      * @param <B>
      * @return The callable reference
+     * @deprecated Seems to duplicate other fields of the Message
      */
+    @Deprecated
     <B> CallableReference<B> getCallableReference();
     
     /**
      * Set the callable reference
      * @param <B>
      * @param callableReference
+     * @deprecated Seems to duplicate other fields of the Message
      */
+    @Deprecated
     <B> void setCallableReference(CallableReference<B> callableReference);
 
 }



---------------------------------------------------------------------
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