| From | Sent On | Attachments |
|---|---|---|
| Raymond Feng | Oct 19, 2007 10:39 am | .bin |
| Barack, Ron | Oct 25, 2007 7:04 am | |
| Peshev, Peter | Jan 28, 2008 7:41 am | |
| Peshev, Peter | Jan 28, 2008 8:43 am | |
| Raymond Feng | Jan 28, 2008 8:50 am | .bin |
| Raymond Feng | Jan 28, 2008 8:58 am | .bin |
| Simon Nash | Jan 29, 2008 5:21 pm | |
| Barack, Ron | Jan 31, 2008 8:26 am | |
| Simon Nash | Jun 19, 2008 4:16 am | |
| David Booz | Jun 19, 2008 6:45 am | |
| Simon Nash | Jun 19, 2008 7:01 am | |
| David Booz | Jun 19, 2008 7:22 am | |
| Simon Nash | Jun 19, 2008 8:35 am |
| Subject: | NEW ISSUE annotations on parameters | |
|---|---|---|
| From: | Peshev, Peter (pete...@sap.com) | |
| Date: | Jan 28, 2008 7:41:40 am | |
| List: | org.oasis-open.lists.sca-j | |
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.






.bin