Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [riena-dev] riena.navigation.assemblies

Hi,
 
The use case for an assembly reference is to define an assembly in one place and use it in different other locations. Specifying an autostart sequence does not make to much sense, as the exact place within the parent assembly is determined by the position of the assembly ref. The nodes of the assembly ref are created as if they where defined in place of the assembly ref.
Without the assembly reference you would need to duplicate the definition.
This is a static scenario - if you need to create the nodes dynamically you cannot use the assembly refernece.
You also should be aware that when using an assembly reference you'll add dependencies to the parent assembly resulting in a tighter coupling of your application parts, witch may not be desired.
 
cheers,
-Holger
 

From: riena-dev-bounces@xxxxxxxxxxx [riena-dev-bounces@xxxxxxxxxxx] On Behalf Of ekke [ekke@xxxxxxxxxxxxxxxx]
Sent: Wednesday, August 26, 2009 23:57
To: Riena Developers list
Subject: Re: [riena-dev] riena.navigation.assemblies

ekke schrieb:
Christian Campo schrieb:
the javadoc of the value that is used for reading it INavigationAssemblyExtension

says
/**
* @return The id of the assembly to be included. If this value is not null
*         all other attributes or elements must be null.
*/
String getRef();

so you can specify an assembly that copies its content from another assembly....the "other" assembly is found where this."ref" is equal to other."id"

thx - this makes sense
but on the other side....
because all other attributes must be null,
then the assembly is always bound to the same parent (application || subapplication) with same autostart-sequence
so at the moment the use-case isn't really clear for me

ekke
--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


Back to the top