Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Activator to Servlet
Activator to Servlet [message #109273] Thu, 08 May 2008 17:17
Raster R is currently offline Raster RFriend
Messages: 77
Registered: July 2009
Member
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: Thu Sep 26 14:43:19 GMT 2024

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

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

Back to the top