Le lundi 08 février 2010 14:04:25, Paul Merlin a écrit :
> If the realm is a ServiceComposite for example, the RealmFactory needs to
>  have access to a ServiceFinder. What I did for now is using a static field
>  refering to an Application in my RealmFactory that is set by the
>  ServletContextListener who bootstrap my Application. That feels both
>  innapropriate and is tied to the webapp context.
> 
> I currently have no other idea but did not dig deeper. Did you come accross
>  good ways to handle this kind of integration ?

Writing all this down raise ideas and I could rephrase my question as :

Is there any lookup mechanism to get a reference to an Application from 
"outside" Qi4j ?

Paul




_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to