Le lundi 08 février 2010 15:39:34, Niclas Hedhman a écrit : > On Mon, Feb 8, 2010 at 10:04 PM, Paul Merlin <[email protected]> wrote: > > Is there any lookup mechanism to get a reference to an Application from > > "outside" Qi4j ? > > Yes, when you instantiate the application from the > ApplicationModelSPI, you get the Application instance back, and from > that you can find the Modules and in the modules you can locate > services... But it must happen after the activation (I think).
Do you mean I can build an ApplicationModelSPI, ie. reAssemble the Application after the it's already activated and that I will get the already running Application instance back ? And yes, globally that's what I like to do. Once I got the Application I can locate the module and so the ServiceFinder I need. Paul _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

