[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE 43: @Reference annotation can also be used on a constructor parameter.
http://www.osoa.org/jira/browse/JAVA-43 -----Ursprüngliche Nachricht----- Von: C Vamsi [mailto:vamsic007@in.ibm.com] Gesendet: Montag, 28. April 2008 12:44 An: sca-j@lists.oasis-open.org Betreff: [sca-j] NEW ISSUE: @Reference annotation can also be used on a constructor parameter. DESCRIPTION: Java Common Annotations and APIs v1.0 - Sec 1.8.14 - Lines 1404 to 1406 The @Reference annotation type is used to annotate a Java class field or a setter method that is used to inject a service that resolves the reference. The interface of the service injected is defined by the type of the Java class field or the type of the setter method input argument. PROPOSAL: Change lines 1404 through 1406 to read the following: The @Reference annotation type is used to annotate a Java class field, a setter method, or a constructor parameter that is used to inject a service that resolves the reference. The interface of the service injected is defined by the type of the Java class field or the type of the input parameter of the setter method or constructor. Thanks to Simon Nash for suggesting a better wording than I originally proposed. See http://lists.oasis-open.org/archives/sca-j/200804/msg00055.html ++Vamsi --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]