Klaus, I've made some changes to jetty that should facilitate injection. If Weld apply those changes that were submitted to bring their code up to jetty-9 api, then the changes I've made should ensure listeners get injected too.
If you have a local checkout of Weld, and you've applied the patch for the new jetty-9 Decorator class signature, then can you test with head of jetty-9 master??? cheers Jan On 7 December 2013 00:43, Klaus Brunner <[email protected]> wrote: > 2013/12/6 Jan Bartel <[email protected]>: >> Thanks for the test webapp. You'll need to declare your >> test.ContextListener in a web.xml to test. >> Even doing that, weld still need to apply this patch: >> https://github.com/weld/core/pull/431 to bring their impl up-to-date >> with the jetty-9.1 api. > > Sure, I did all that locally. Injection works, just not in the > ServletContextListener. > >> Its very late here, but I'll give some thought over the weekend to a >> better way that weld may be able to use to ensure that Listeners would >> be able to be injected when running in jetty. > > Thanks, sounds good! > > Klaus > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users -- Jan Bartel <[email protected]> www.webtide.com 'Expert Jetty/CometD developer,production,operations advice' _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
