Open glassfishrobot opened 13 years ago
Reported by apicetti
aaronanderson said: I was looking to add this support by extending WSServletContextListener so that I could define an extended ServletContainer that provides a custom ResourceInjector that uses Weld to perform CDI injection on the JAXWS endpoint. Even though there are protected methods on WSServletContextListener it is declared final so it cannot be reused. Now that CDI is a preeminent part of JavaEE I think the JAX-WS RI should be updated to support it.
This issue was imported from java.net JIRA JAX_WS-935
In cases where it is desirable to use a Web container (Jetty / Tomcat) instead of a full-fledged Java EE 6 app server there is no way of integrating Metro JAX-WS and Weld CDI container ( or at least it seems to be undocumented)
Affected Versions
[2.0 FCS]