← Prev in month ← Prev in thread
Next in thread → Next in month →

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

From
C Vamsi <>
Date
2008-04-28T19:44:49+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →