Re: [sca-j] ISSUE 48: Proposal

From
Simon Nash <>
Date
2008-08-18T14:56:45+00:00
ID
Thread
Re: [sca-j] ISSUE 48: Proposal
Vamsi,

Thanks.  This is a good start.
 I think the second sentence needs more work, as it doesn't explain
clearly enough that the injection usage of @Callback is completely separate
from its usage to specify a callback interface (with a different syntactic
form of the annotation).  Here are some suggested words:

@Callback

A callback interface is declared by using an @Callback annotation on a
Java

service interface, with the Java Class object of the callback interface
as a

parameter. There is another form of the @Callback annotation, without any

parameters, that specifies callback injection for
a setter method or

a field of an implementation.

    Simon

Simon C. Nash, IBM Distinguished Engineer

Member of the IBM Academy of Technology

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

C Vamsi <>

18/08/2008 05:57

To



cc

Subject

[sca-j] ISSUE 48: Proposal

ISSUE 48: @Callback annotation does not feature in section on Interfaces

PROPOSAL:

Add the following subsection in section 3 at line 203 in

sca-javacaa-1.1-spec-WD04.doc

@Callback

A callback interface is declared by using an @Callback annotation on a
Java

service interface, with the Java Class object of the interface as a

parameter. The annotation may also be applied to a method or to a field
of

an implementation, which is used in order to have a callback injected.

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

To unsubscribe from this mail list, you must leave the OASIS TC that

generates this mail.  Follow this link to 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