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 Mising name is currently offline Raster Mising nameFriend
Messages: 75
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: Sun Nov 28 06:31:34 GMT 2021

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

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

Back to the top