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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-bpel message

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


Subject: Re: [sca-bpel] Issue 11 - BPEL variable initialization and SCA properties



Issue 11 is marked as resolved.
Proposal (by Michael Rowley):
------------------------------
If the variable has an initialization from-spec then that becomes the default value for the variable in cases where
the SCA component does not provide a value for that property. If a value is provided for the property, the initialization from-spec
MUST be evaluated, but the value of the variable will be changed to the value specified for the property on the component
immediately after the initialization is evaluated (before any following variable initialization from-spec is evaluated).

If the from-spec is a literal value, where it has the following form:

   <from><literal>literal value</literal></from>

then the literal value will be represented as the default value in the component type for the process. Any other kind of
initialization from-spec will not be represented in the component type. However, even though the other kinds of initialization
from-spec are not represented in the component type, they would still be computed and used as the default value for the property
when the component does not provide a value for that property.

If a BPEL variable that is used as a property has an initialization from-spec then mustSupply="false" must be specified on the
component type property declaration.
------------------------------



Regards,
Alex Yiu

Alex Yiu wrote:

Hi all,

Just want to archive our text properly ... :-)
Here is the current proposal being discussed on the conf call on this Issue 11:
(not passed yet)(formulated in Michael Rowley's 2 messages)
--------------------------------------
Michael Rowley: If the variable has an initialization from-spec then that becomes the default value for the variable in cases where the SCA component does not provide a value for that property.  If a value is provided for the property, the initialization from-spec is not evaluated.

 

If the from-spec is a literal value, where it has the following form:

   <from><literal>literal value</literal></from>

then the literal value will be represented as the default value in the component type for the process.  Any other kind of initialization from-spec will not be represented in the component type.  However, even though the other kinds of initialization from-spec are not represented in the component type, they would still be computed and used as the default value for the property when the component does not provide a value for that property.
Michael Rowley: If a BPEL variable that is used as a property has an initialization from-spec then mustSupply="false" must be specified on the component type property declaration.
--------------------------------------


Thanks!

Regards,
Alex Yiu






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