You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2007/02/25 16:51:55 UTC

svn commit: r511534 - /incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Callback.java

Author: jboynes
Date: Sun Feb 25 07:51:54 2007
New Revision: 511534

URL: http://svn.apache.org/viewvc?view=rev&rev=511534
Log:
add javadoc to @Callback noting spec errata and proposed correction

Modified:
    incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Callback.java

Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Callback.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Callback.java?view=diff&rev=511534&r1=511533&r2=511534
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Callback.java (original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Callback.java Sun Feb 25 07:51:54 2007
@@ -31,6 +31,9 @@
  * <p/>
  * When placed on a method or field, this annotation denotes the injection
  * site to be used for a callback reference.
+ * <p/>
+ * There is a error in the 1.00 draft spec in the declaration of this interface.
+ * The form defined here is a proposed correction for that error.
  *
  * @version $Rev$ $Date$
  */
@@ -38,7 +41,9 @@
 @Retention(RUNTIME)
 public @interface Callback {
     /**
-     * The Class of the callback interface.
+     * The Class of the associated callback interface.
+     *
+     * @return the associated callback interface
      */
     Class<?> value() default Void.class;
 }



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