OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: NEW ISSUE: @Reference annotation can also be used on a constructorparameter.



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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]