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] [ISSUE 157] Section 10.13 on @OneWay requires a normativestatement - Updated Proposal


Mike,
I agree with making this change.  I believe some additional spec
changes are also needed.

To remove the capability for Java classes to specify @OneWay, we
need the following additional spec changes:

1. In Java CI, change the first sentence of section 2.4 to:
     Service operations defined by a Java interface can use the
     @OneWay annotation ....

2. In the second paragraph of section 7.3 of Java CAA, change
    "Any method with a void return type ...." to "A method with a
    void return type ...."

To clarify that @OneWay is needed on both the service interface
and the reference interface, we need to say something like the
following somewhere in the Java CAA spec:

  x.x Compatibility of Java Interfaces

  The SCA Assembly Model specification [ASSEMBLY] defines a number
  of criteria that need to be satisfied in order for two interfaces
  to be compatible or have a compatible superset or subset relationship.
  If these interfaces are both Java interfaces, compatibility also
  requires every method that is present in both interfaces to be defined
  consistently in both interfaces with respect to the @OneWay annotation,
  that is, the annotation is either present in both interfaces or
  absent in both interfaces.

   Simon

Mike Edwards wrote:
> 
> Folks,
> 
> Following the discussion on the list, here is an updated proposal for 
> Issue 157:
> 
> Replace lines 1923 - 1925 with the following normative statements:
> 
> When a method of a Java interface is annotated with @OneWay, the SCA 
> runtime MUST ensure that all
> invocations of that method are executed in a non-blocking fashion, as
> described in the section on Asynchronous Programming.
> [JCA90052]
> 
> Methods of Java classes MUST NOT be annotated with the @OneWay 
> annotation. [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]