myJPAStuff can be a bean that you expose as an OSGi service. Then you can easily retrieve it from your dynamically loaded JPA listener.
JP [@@ THALES GROUP INTERNAL @@] -----Message d'origine----- De : ellirael [mailto:[email protected]] Envoyé : lundi 22 juin 2015 10:19 À : [email protected] Objet : RE: Best way to access OSGi services from classes which object creation I cannot handle Jean-Philippe, you're reffering JPAStuff. What is it? My JPA listener created by JPA engine, not by blueprint. Is is possible to intercept myJPAStuff creation via blueprint? -- View this message in context: http://karaf.922171.n3.nabble.com/Best-way-to-access-OSGi-services-from-classes-which-object-creation-I-cannot-handle-tp4040986p4041026.html Sent from the Karaf - User mailing list archive at Nabble.com.
