[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [sca-j] ISSUE 20 - annotations on parameters
I think you need to replace more than the lines you've identified. The line numbers in my copy of WD03 don't match yours, so I'll insert the text in WD03 that needs to be replaced. The @Property annotation is used to denote a Java class field or a setter method that is used to inject an SCA property value. The type of the property injected, which can be a simple Java type or a complex Java type, is defined by the type of the Java class field or the type of the setter method input argument. The @Property annotation may be used on protected or public fields, on setter methods or on a constructor method parameter. I suspect that might be lines 1630-1635, maybe? For me it's lines 1318-1323. Dave Booz STSM, SCA and WebSphere Architecture Co-Chair OASIS SCA-Policy TC "Distributed objects first, then world hunger" Poughkeepsie, NY (845)-435-6093 or 8-295-6093 e-mail:booz@us.ibm.com http://washome.austin.ibm.com/xwiki/bin/view/SCA2Team/WebHome Simon Nash <NASH@uk.ibm.com> To 06/19/2008 07:15 sca-j@lists.oasis-open.org AM cc Subject Re: [sca-j] ISSUE 20 - annotations on parameters The @Reference portion of this issue would be resolved by the proposal for issue 43. For the @Property portion, I propose the following wording: PROPOSAL: Change lines 1630 through 1633 in WD 03 to read the following: The @Property annotation is used to denote a Java class protected or public field, a setter method, or a constructor parameter that is used to inject an SCA property value. The type of the property injected, which can be a simple Java type or a complex Java type, is defined by the type of the Java class field or the type of the input parameter of the setter method or constructor. Simon Simon C. Nash, IBM Distinguished Engineer Member of the IBM Academy of Technology Tel. +44-1962-815156 Fax +44-1962-818999 "Barack, Ron" <ron.barack@sap.com> 31/01/2008 16:26 To <sca-j@lists.oasis-ope n.org> cc Subject [sca-j] ISSUE 20 - annotations on parameters http://www.osoa.org/jira/browse/JAVA-20 -----Ursprüngliche Nachricht----- Von: Simon Nash [mailto:NASH@uk.ibm.com] Gesendet: Mittwoch, 30. Januar 2008 02:22 An: sca-j@lists.oasis-open.org Betreff: Re: [sca-j] NEW ISSUE annotations on parameters There is text elsewhere (lines 82 to 84 in section 2.2) that mentions @Reference annotations on setter and constructor parameters. So the spec is inconsistent and this is a valid issue. Simon Simon C. Nash, IBM Distinguished Engineer Member of the IBM Academy of Technology Tel. +44-1962-815156 Fax +44-1962-818999 "Peshev, Peter" <peter.peshev@sap.com> 28/01/2008 15:41 To <sca-j@lists.oasis-open.org> cc Subject [sca-j] NEW ISSUE annotations on parameters TARGET: Java Common Annotations and APIs Specification Version 1.1 (WD 26 September 2007) DESCRIPTION: The current Reference and Property annotation are defined in sections 8.13 and 8.14 as : @Target({METHOD, FIELD, PARAMETER}) @Retention(RUNTIME) public @interface Reference { @Target({METHOD, FIELD, PARAMETER}) @Retention(RUNTIME) public @interface Property { I.e. there is a possibility to define those annotations on parameter. However the text description doesn't allow that feature and mentions only field \ setter method injection : "The @Property annotation type is used to annotate a Java class field or a setter method that is used to inject an SCA property value. " "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." PROPOSAL: Drop the possibility of defining those annotations on parameters. --------------------------------------------------------------------- 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 Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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 Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]