sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-j] [ISSUE 105] RFC2119 Language is needed for C&I Specification -updated draft
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: OASIS Java <sca-j@lists.oasis-open.org>
- Date: Wed, 18 Mar 2009 10:01:45 +0000
Vamsi,
Thanks for this suggestion.
There is a problem with your wording
in the use of the phrase "...all of which result in...", which
could be
interpreted to say that if you had 2
resulting in a property and 2 resulting in a reference, then this would
be
OK since it isn't "all", when
clearly this is not the intention.
I've gone for a variation as follows:
If a Java implementation class, with or without @Property
and @Reference
annotations, has more than one setter method with the same JavaBeans
property name [JAVABEANS] corresponding to the setter method name, then
if
more than one method is inferred to set the same SCA
property or to set the
same SCA reference, the SCA runtime
MUST raise an error and MUST NOT instantiate the implementation class.
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:
| C Vamsi <vamsic007@in.ibm.com>
|
To:
| OASIS Java <sca-j@lists.oasis-open.org>
|
Date:
| 18/03/2009 02:40
|
Subject:
| Re: [sca-j] [ISSUE 105] RFC2119 Language
is needed for C&I Specification - updated draft |
Simon,
For No.3 - Lines 484-487, I suggest the following text:
If a Java implementation class, with or without @Property and @Reference
annotations, has more than one setter method with the same JavaBeans
property name [JAVABEANS] corresponding to the setter method name, all
of
which result in either an SCA property or an SCA reference, the SCA runtime
MUST raise an error and MUST NOT instantiate the implementation class.
++Vamsi
Simon Nash
<oasis@cjnash.com
>
To
OASIS Java
18/03/2009 04:17
<sca-j@lists.oasis-open.org>
cc
Subject
Re: [sca-j]
[ISSUE 105] RFC2119
Language
is needed for C&I
Specification
- updated draft
Mike,
A few comments on this draft:
1. Line 133: wrong font for namespace.
2. Lines 250/251: change "can also be" to "are".
3. Lines 484-487: Conformance statement JCI80002 is worded incorrectly
because it doesn't say that the error only applies when both
setters are for a property or both setters are for a reference.
Suggested words: If a Java implementation class, with or
without
@Property and @Reference annotations, has more than one setter
method
with the same JavaBeans property name [JAVABEANS] and these
setter
methods either both correspond to SCA properties or both
correspond
to SCA references, the SCA runtime MUST raise an error and
MUST NOT
instantiate the implementation class.
4. Lines 612/613: make SCA runtime the conformance target of JCI100002.
Suggested words: The SCA runtime MUST ensure that the package
used to
satisfy an import matches the package name, the version number
or
version number range and (if present) the location specified
on the
import.java element.
5. Lines 630-632: make SCA runtime the conformance target of JCI100003.
Suggested words: The uses directive indicates that the SCA
runtime
MUST ensure that any SCA contribution that imports this package
from
this
exporting contribution also imports the same version as is
used by this
exporting contribution of any of the packages contained in
the uses
directive.
6. Lines 665/666: make SCA runtime the conformance target of JCI100008.
Suggested words: The SCA runtime MUST ensure that within
a
contribution,
Java classes are resolved according to the following steps
in the order
specified:
7. Lines 681-683: Reword the first sentence as normative. Suggested
words:
The SCA runtime MUST ensure that the Java classes used by
a
contribution
are all loaded by by a class loader that is unique for each
contribution
in the Domain.
Simon
Mike Edwards wrote:
>
> Folks,
>
> Following today's discussion, an updated draft:
>
>
http://www.oasis-open.org/apps/org/workgroup/sca-j/download.php/31719/sca-javaci-1.1-spec-wd04_proposal3.pdf
>
>
http://www.oasis-open.org/apps/org/workgroup/sca-j/download.php/31718/sca-javaci-1.1-spec-wd04_proposal3.doc
>
>
> 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]