Ok... this makes sense to me... I'll go ahead and make this change.  Thanks
:)

- Venkat

On 4/10/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:

Venkata Krishnan wrote:
> Hi,
>
> In the Assembly module can I change the Property interface hierarchy as
> follows:
>
> - Have ComponentProperty extend from AbstractProperty instead of
> Property.
> - Move the 'defaultValue' accessors into 'Property' from
AsbtractProperty
> - Introduce accessors for 'value' in ComponentProperty.
>
> Right now the value for a ComponentProperty gets read into the
> 'defaultValue' field and I just want this to move into 'value' field.
>
> Opinions on this change proposal?  Thanks.
>
> - Venkat
>

From the SCA assembly spec, it looks like constrainingType/property can
specify a value as well, so AbstractProperty needs a way to specify a
value. How about just renaming the defaultValue field to value? If we
did that then the structure would be similar to References and Services.
A Reference can have some characteristics (like targets or bindings)
configured in a ComponentType, then reconfigured on a
ComponentReference. Similar for Property, the Property could have its
value configured in a ComponentType, then reconfigured on a
ComponentProperty.

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to