On Monday 14 April 2008 11:40, Niclas Hedhman wrote: > ApplicationModel -> "qi4j:model:" > ApplicationInstance -> "qi4j:instance:" [host] ":" [jvminstance] ":" > [applicationInstance.name] > > LayerModel -> [applicationModel] "/" [layerModel.name] > LayerInstance -> [applicationInstance] "/" [layerInstance.name] > > ModuleModel -> [layerModel] "/" [moduleModel.name] > ModuleInstance -> [layerInstance] "/" [moduleInstance.name]
I was looking at adding the above to the codebase, but could not access the ApplicationModel from the LayerModel. At first I thought, ok let's add that. Then I realized; Hold on a second. The layer model shouldn't know where it will be used, but at the same time ApplicationModel knows which LayerModels it contains, and LayerModels knows which ModuleModels they contain. Well, that comes from an ApplicationModel consists of A,B & C LayerModels, which may be used elsewhere. It is highly confusing that the ApplicationModel knows which LayerModels it contains, but that each LayerModel can't know which Application it is used in. Nevertheless, need new URI algorithm; ApplicationModel -> "qi4j:model:application:" [applicationModel.name] LayerModel -> "qi4j:model:layer:" [layerModel.name] ModuleModel -> "qi4j:model:module:" [moduleModel.name] Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

