sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-j] @Reference annotation on setter method parameter or the methoditself?
- From: Simon Nash <NASH@uk.ibm.com>
- To: sca-j@lists.oasis-open.org
- Date: Sun, 27 Apr 2008 22:30:37 +0100
Vamsi,
This appears to be a duplicate of JAVA-33.
Were you intending to reopen that issue (which would require a 2/3
majority), or are you OK with the change made to this text by the resolution
to JAVA-33?
Simon
Simon C. Nash, IBM Distinguished Engineer
Member of the IBM Academy of Technology
Tel. +44-1962-815156 Fax +44-1962-818999
C Vamsi <vamsic007@in.ibm.com>
26/04/2008 09:51
|
To
| sca-j@lists.oasis-open.org
|
cc
|
|
Subject
| [sca-j] @Reference annotation on setter
method parameter or the method itself? |
|
DESCRIPTION:
Java Common Annotations and APIs Specification v1.00 - Sec 1.2.2 - Lines
245 to 246:
245 Accessing a service using reference injection is done by defining a
field, a setter method parameter, or a
246 constructor parameter typed by the service interface and annotated
with
an @Reference annotation.
From the above it could be interpreted that the parameter to the setter
method can be annotated with @Reference whereas section 1.8.14 does not
talk about or give an example where a parameter to the setter method is
annotated with @Reference, but mentions that the setter method itself (not
the input parameter) should be annotated with @Reference.
PROPOSAL: Change lines 245 and 246 to read the following:
Accessing a service using reference injection is done by defining a field,
a setter method with input parameter typed by the service interface, or
a
constructor parameter typed by the service interface and annotated with
an
@Reference annotation.
++Vamsi
---------------------------------------------------------------------
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]