I'm looking for best solution to gain access to OSGi services in classes
which object creation I cannot handle.
For example I need to call some OSGi services in JPA event listener
@PostPersist callback method.
How to inject services to such objects?
How to refresh services links when their implementation change?
How to ensure that all resources are freed when I update or restart bundle
with services?
To save dynamism is a must for my tasks.



--
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-tp4040986.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to