Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AtmosphereHandler in web.xml does not get injected by org.atmosphere.di.Injector #642

Closed
bspies opened this issue Sep 22, 2012 · 1 comment
Labels

Comments

@bspies
Copy link

bspies commented Sep 22, 2012

When configuring an AtmosphereHandler in web.xml as an init-param to the AtmosphereServlet, the handler does not get injected by any defined custom implementation of org.atmosphere.di.Injector because the codepath taken by this configuration:

org.atmosphere.cpr.AtmosphereFramework#addAtmosphereHandler(String,AtmosphereHandler,List)

does not invoke

InjectorProvider.getInjector().inject(handler);

unlike the codepath that loads the atmosphere.xml (which does inject).

@jfarcand
Copy link
Member

Fixed

0b8bbcf

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants