atom feed13 messages in org.oasis-open.lists.sca-jNEW ISSUE annotations on parameters
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: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.