[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [sca-j] [NEW ISSUE] Missing Normative Statements relating to@Callback annotation used to annotate injection point for callback proxy- [JAVA-159]
David Booz wrote: > A comment on JCA90052, it might be better to reword it as follows: > > The SCA Runtime MUST raise an error if the @Callback annotation is used > to annotate a setter method or a field of a Java implementation class > that has > COMPOSITE scope. [JCA90052] > The wording that Mike proposed implies this because of the catch-all statement that we have at the beginning of chapter 10. I think it's useful to state explicitly that the annotated class is in error (and therefore does not comply with section 12.2). Simon > Dave Booz > STSM, BPM and SCA Architecture > Co-Chair OASIS SCA-Policy TC and SCA-J TC > "Distributed objects first, then world hunger" > Poughkeepsie, NY (845)-435-6093 or 8-295-6093 > e-mail:booz@us.ibm.com > > Inactive hide details for "Mark Combellack" ---04/30/2009 06:42:28 > AM---Hi,"Mark Combellack" ---04/30/2009 06:42:28 AM---Hi, > > > From: > "Mark Combellack" <mcombellack@avaya.com> > > To: > "Mike Edwards" <mike_edwards@uk.ibm.com>, "OASIS Java" > <sca-j@lists.oasis-open.org> > > Date: > 04/30/2009 06:42 AM > > Subject: > RE: [sca-j] [NEW ISSUE] Missing Normative Statements relating to > @Callback annotation used to annotate injection point for callback proxy > - [JAVA-159] > > ------------------------------------------------------------------------ > > > > Hi, > > I have raised this new issue as JAVA-159. See: > > _http://www.osoa.org/jira/browse/JAVA-159_ > > > Thanks, > > Mark > Mark Combellack| Software Developer| Avaya | Eastern Business Park | St. > Mellons | Cardiff | CF3 5EA | Voice: +44 (0) 29 2081 7624 | > _mcombellack@avaya.com_ <mailto:%7Cmcombellack@avaya.com> > ------------------------------------------------------------------------ > *From:* Mike Edwards [mailto:mike_edwards@uk.ibm.com] * > Sent:* 30 April 2009 09:02* > To:* OASIS Java* > Subject:* [sca-j] [NEW ISSUE] Missing Normative Statements relating to > @Callback annotation used to annotate injection point for callback proxy > > > Raiser: Mike Edwards > > Target: sca-javacaa-1.1-spec-cd02-rev7.doc > > Description: > > Section 7.2.4 Accessing Callbacks describes the use of the @Callback > annotation to mark a field or setter as a place where > a callback proxy must be injected. However there are no normative > statements relating to this use of the @Callback annoation > - either in section 7.2.4 or in the section 10.3 @Callback > > Proposal: > > Add the following to section 10.3 @Callback, following line 1598. > > > The @Callback annotation MUST NOT be used to annotate a setter method or > a field of a Java implementation class that has > COMPOSITE scope. [JCA90052] > > When used to annotate a setter method or a field of an implementation > class for injection of a callback object, the SCA runtime MUST > inject a callback reference proxy into that method or field when the > Java class is initialized, if the component is invoked via a service > which has a callback interface and where the type of the setter method > or field corresponds to the type of the callback interface. [JCA90053] > > > Yours, Mike. > > Strategist - Emerging Technologies, SCA & SDO. > Co Chair OASIS SCA Assembly TC. > IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain. > Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431 > Email: mike_edwards@uk.ibm.com > ------------------------------------------------------------------------ > > /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]