Sten Roger Sandvik wrote:
> The example should be clearer. It's actually set inside the
ProvisionActivator. First statement inside start(..) method.
> servletContext.setAttribute(BundleContext.class.getName(), context); 

Ugh. Not sure how I missed that. Thanks for pointing it out.

While this is a great addition to Felix, it still feels incomplete in
that I need to write this glue code. For some reason, I was under the
impression that the Felix devs weren't interested in providing a
standard solution to this problem, but perhaps I'm mistaken. Obviously,
people can roll their own solution, but I would like to see something
come "out of the box." There's enough code already in Sling that could
be rolled into Felix to provide this (for example, looking for bundles
in /WEB-INF/resources/bundles/[start level]).

If this is something worth discussing, let me know. Alternatively, I can
just submit a JIRA issue and/or start working on some patches, but I
personally would like to see some consensus on what the desirable
default behavior is.

Incidentally, the bridge seems to work fine with Servlet 2.4.

Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to