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

Re: [sca-j] ISSUE 43: @Reference annotation can also be used on aconstructor parameter.

From
Rimon @ash <>
Date
2008-06-19T10:58:47+00:00
ID
Thread
Re: [sca-j] ISSUE 43: @Reference annotation can also be used on aconstructor parameter.
Here's a new proposal, as discussed
on last week's call.

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

proxy to the 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.

    Simon

Simon C. Nash, IBM Distinguished Engineer

Member of the IBM Academy of Technology

Tel. +44-1962-815156  Fax +44-1962-818999

"Barack, Ron"
<> 

08/05/2008 13:52

To

"C Vamsi" <>,
<>

cc

Subject

[sca-j] ISSUE 43: @Reference annotation
can also be used on a constructor parameter.

 

http://www.osoa.org/jira/browse/JAVA-43

-----Ursprüngliche Nachricht-----

Von: C Vamsi [mailto:] 

Gesendet: Montag, 28. April 2008 12:44

An: 

Betreff: [sca-j] NEW ISSUE: @Reference annotation can also be used on a
constructor parameter.

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

---------------------------------------------------------------------

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

---------------------------------------------------------------------

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
← Prev in month ← Prev in thread
Next in thread → Next in month →