Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsActivator to Servlet
https://www.eclipse.org/forums/index.php/mv/msg/33695/109273/#msg_109273
I have successfully provided a bundle which registers a service and
exports it.
I have another bundle which uses the embedded jetty and imports the
service in its activator. In the activator during the start method I
assign the service that i obtained from the bundle context to a static
field of the activator.
My servlet is able to acces the static service field of the activator and
use it.
Is there a better way of making available the service reference to the
servlet?]]>Raster R2008-05-08T17:17:35-00:00