|
Re: how are the javax.servlet libraries visible? [message #81887 is a reply to message #81842] |
Thu, 25 January 2007 13:09 |
Eclipse User |
|
|
|
Originally posted by: skaegi.sympatico.ca
Hi Simon,
You've got it.
javax.servlet and javax.servlet.http (and org.eclipse.equinox.servletbridge)
come from the webapp class loader and are exposed via framework extension
bundle. The extension bundles in this case are empty (other than the
manifest) since they're just declaring the availability of packages for
import.
In the case of the servletbridge, the extension bundle is generated in
FrameworkLauncher.deployExtensionBundle.
-Simon
"Simon" <kungfubuda@gmail.com> wrote in message
news:ep9bpu$vbr$1@utils.eclipse.org...
> When embedding Equinox in a servlet container (as in the servletbridge
> example), how do the bundles inside OSGi framework get visibility
> topackages such as javax.servlet and javax.servlet.http?
>
> Are these packages contained in a utility bundle inside Equinox? Or are
> they exposed from the parent servlet container?
>
> If it's the second case, are packages from the servlet container exposed
> to bundles inside Equinox via a "framework" extension bundle?
|
|
|
Powered by
FUDForum. Page generated in 0.02814 seconds