atom feed13 messages in org.oasis-open.lists.sca-jRe: [sca-j] ISSUE 20 - annotations on...
FromSent OnAttachments
Raymond FengOct 19, 2007 10:39 am.bin
Barack, RonOct 25, 2007 7:04 am 
Peshev, PeterJan 28, 2008 7:41 am 
Peshev, PeterJan 28, 2008 8:43 am 
Raymond FengJan 28, 2008 8:50 am.bin
Raymond FengJan 28, 2008 8:58 am.bin
Simon NashJan 29, 2008 5:21 pm 
Barack, RonJan 31, 2008 8:26 am 
Simon NashJun 19, 2008 4:16 am 
David BoozJun 19, 2008 6:45 am 
Simon NashJun 19, 2008 7:01 am 
David BoozJun 19, 2008 7:22 am 
Simon NashJun 19, 2008 8:35 am 
Subject:Re: [sca-j] ISSUE 20 - annotations on parameters (take 2)
From:Simon Nash (NA@uk.ibm.com)
Date:Jun 19, 2008 8:35:30 am
List:org.oasis-open.lists.sca-j

Dave, Sorry, I missed that (read your email too quickly). Here's the revised proposal:

PROPOSAL: Replace lines 1630 through 1635 in WD 03 by 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

David Booz <bo@us.ibm.com> To sca@lists.oasis-open.org cc 19/06/2008 15:22 Subject Re: [sca-j] ISSUE 20 - annotations on parameters

But it becomes redundant based on the text you proposed.

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:bo@us.ibm.com [1]http://washome.austin.ibm.com/xwiki/bin/view/SCA2Team/WebHome

Simon Nash <NA@uk.ibm.com> To 06/19/2008 10:01 David Booz/Poughkeepsie/IBM@IBMUS AM cc sca@lists.oasis-open.org Subject Re: [sca-j] ISSUE 20 - annotations on parameters

Dave, In WD 03, the following paragraph already has the correct words.

Simon

Simon C. Nash, IBM Distinguished Engineer Member of the IBM Academy of Technology Tel. +44-1962-815156 Fax +44-1962-818999

David Booz <bo@us.ibm.com>

19/06/2008 14:45 To sca@lists.oasis-open.org cc

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:bo@us.ibm.com http://washome.austin.ibm.com/xwiki/bin/view/SCA2Team/WebHome

Simon Nash <NA@uk.ibm.com> To 06/19/2008 07:15 sca@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.@sap.com>

31/01/2008 16:26 To <sca-j@lists.oasis-ope n.org> cc

Subject [sca-j] ISSUE 20 - annotations on parameters

[2]http://www.osoa.org/jira/browse/JAVA-20

-----Ursprüngliche Nachricht----- Von: Simon Nash [mailto:NA@uk.ibm.com] Gesendet: Mittwoch, 30. Januar 2008 02:22 An: sca@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" <pete@sap.com> 28/01/2008 15:41

To <sca@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: [3]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

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

------------------------------------------------------------------------------

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

References

Visible links 1. http://washome.austin.ibm.com/xwiki/bin/view/SCA2Team/WebHome 2. http://www.osoa.org/jira/browse/JAVA-20 3. https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php