Closed GoogleCodeExporter closed 9 years ago
Open question: how to handle usage references cross different language
bindings/deployment definitions.
Original comment by manfred....@bmw.de
on 23 Jul 2014 at 12:26
Original comment by klaus.birken@gmail.com
on 29 Jul 2014 at 9:38
Original comment by klaus.birken@gmail.com
on 10 Nov 2014 at 1:15
Implemented by commit 3316711 on develop.
The final syntax is as follows. In the deployment specification, the property
has to be declared with the new 'Instance' type:
ClientInstanceReferences: Instance[];
In the deployment definition of the provider, the instance which we want to
refer to has to be labeled using the new 'as' syntax:
instance org.example.AuxInPlayer as Player2 { ... }
Finally, in the deployment definition which refers to the interface instance
the property can be set by:
ClientInstanceReferences = { CeDeviceMediaPlayer.Player2, ... others ... }
In the example above, the property is an array of Instance elements. Obviously,
properties may also have a single Instance element as its value. Note that the
fully qualified name must be used when referring to an interface instance, as
the instance will usually be defined in a different provider definition than
the definition where the instance is defined.
Original comment by klaus.birken@gmail.com
on 12 Nov 2014 at 1:39
Original comment by klaus.birken@gmail.com
on 19 Dec 2014 at 2:35
Original issue reported on code.google.com by
manfred....@bmw.de
on 23 Jul 2014 at 12:24Attachments: