On Tue, Feb 9, 2010 at 12:08 AM, Paul Merlin <[email protected]> wrote:
> 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 ? Reassemble doesn't "work", i.e. yes you can kill the entire application (passivate), toss the model and go again. But that is not what I think you want. All Qi4j applications MUST be assembled by "you", and the basic minimum steps are; Energy4Java qi4j = new Energy4Java(); ApplicationAssembler assembler = new MyApplicationAssembler(); ApplicationSPI instance = qi4j.newApplication( assembler ); instance.activate(); Module module = instance.findModule( someLayer, someModule ); Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java 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

