Skip to main content



      Home
Home » Eclipse Projects » Equinox » Activator to Servlet
Activator to Servlet [message #109273] Thu, 08 May 2008 13:17
Eclipse UserFriend
Hi,

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?
Previous Topic:Running a servlet under Eclipse 3.2 workbench
Next Topic:Equinox Application Model Demo
Goto Forum:
  


Current Time: Fri Jul 11 21:31:30 EDT 2025

Powered by FUDForum. Page generated in 0.03143 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top