You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/04/08 13:43:57 UTC

svn commit: r931893 - /tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Constructor.java

Author: antelder
Date: Thu Apr  8 11:43:57 2010
New Revision: 931893

URL: http://svn.apache.org/viewvc?rev=931893&view=rev
Log:
Revert the change to the contsructor annotation to the latest oasis code as it removes named parameters so there;s some asscociated tuscany changes i need to do first

Modified:
    tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Constructor.java

Modified: tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Constructor.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Constructor.java?rev=931893&r1=931892&r2=931893&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Constructor.java (original)
+++ tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/annotation/Constructor.java Thu Apr  8 11:43:57 2010
@@ -1,23 +1,22 @@
 /*
- * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved.
+ * Copyright(C) OASIS(R) 2005,2009. All Rights Reserved.
  * OASIS trademark, IPR and other policies apply.
  */
 package org.oasisopen.sca.annotation;
 
 import static java.lang.annotation.ElementType.CONSTRUCTOR;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
 import java.lang.annotation.Retention;
 import java.lang.annotation.Target;
 
 /**
- * The @Constructor annotation is used to mark a particular
- * constructor to use when instantiating a Java component
- * implementation. If this constructor has parameters, each
- * of these parameters MUST have either a @Property annotation
- * or a @Reference annotation.
+ * Used to indicate the constructor the runtime is to use when instantiating a component implementation instance
+ *
+ * @version $Rev$ $Date$
  */
 @Target(CONSTRUCTOR)
 @Retention(RUNTIME)
 public @interface Constructor {
-
+    String[] value() default "";
 }