OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[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 @Callbackannotation used to annotate injection point for callback proxy - [JAVA-159]



Folks,

Good debate.

How about:

  The @Callback annotation MUST NOT appear within a Java implementation class that has COMPOSITE scope.
 [JCA90052]


Even simpler, but correct and precise.


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



From: Simon Nash <oasis@cjnash.com>
To: sca-j@lists.oasis-open.org
Date: 30/04/2009 20:35
Subject: Re: [sca-j] [NEW ISSUE] Missing Normative Statements relating to @Callback annotation used to annotate injection point for callback proxy - [JAVA-159]





Dave,
Sorry for not understanding the reason for your concern at the
original wording.

How about the following?

 The @Callback annotation MUST NOT appear on a setter method or
 a field of a Java implementation class that has COMPOSITE scope.
 [JCA90052]

This makes the target of the sentence the class, not the developer.

I didn't agree with your wording change because this doesn't say
explicitly that a class with a @Callback annotation on a setter
method or field of a composite-scoped implementation would not
be a valid SCA Java class as defined in section 12.2.

  Simon

David Booz wrote:
> I can't tell if you agree with my change or not. The concern behind the
> change is that the target of the proposed sentence seemed to be a
> developer, which is not correct.
>
> 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 Simon Nash ---04/30/2009 10:28:46 AM---David
> Booz wrote: > A comment on JCA90052, it might be better Simon Nash
> ---04/30/2009 10:28:46 AM---David Booz wrote: > A comment on JCA90052,
> it might be better to reword it as follows:
>
>
> From:                
> Simon Nash <oasis@cjnash.com>
>
> To:                
> sca-j@lists.oasis-open.org
>
> Date:                
> 04/30/2009 10:28 AM
>
> 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/
>  >
>  >
>  >
>  >
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>



---------------------------------------------------------------------
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








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]