Hi,

I am trying to bring the SPI model and the Loaders in sync with the current
level of the specs as available on OSOA site.  I am currently looking at
'references' - as and how they are defined in ComponentType,
ComponentDefinition and Composite and have the following questions:  -

With respect to references defined in ComponentDefitions and the 'target'
attribute therein
- the specs says that whatever is mentioned in the target overrides that
which is mentioned in the implementation.  Now, my understanding is that a
target is used to wire a reference to another Component's service.  Given
this, I thought defining a target makes sense only within a composite.  So
what does it mean by an implementation specifying a target for a reference?

- next, the 'target' attribute for a reference in a component definition is
'optional'.  Assuming there are no targets defined in the implementation and
no targets are defined in the component definition that uses this
implementation (as this is only optional), then what happens to these
references.  Is this something that should not be permitted unless
autowire=true for the reference defn.

Could somebody familiar with the specs kindly help me with understand?
Thanks.

- Venkat

Reply via email to