[
https://jira.jboss.org/jira/browse/WELDX-84?page=com.atlassian.jira.plugi...
]
Matija Mazi updated WELDX-84:
-----------------------------
Attachment: move-tomcat-injection-from-support-jar.patch
The patch tomcat-injection-from-support-jar.patch implements one way to do injection into
Servlets and Filters in Tomcat without the need for tomcat-support.jar. Instead of in
WeldLifecycleListener (which thus becomes redundant), the AnnotationProcessor is replaced
in Listener using reflection to access private fields in Tomcat's Context classes.
The tomcat-support.jar still contains JspInitialization and its dependencies, but as AFAIK
this is not needed for injection. (Actually, I don't know where and how the
JspInitialization code is called.)
This patch is independent of the patch in WELDX-23. Either or both can be applied to the
trunk.
Merge tomcat-support and jetty-support into weld-servlet
--------------------------------------------------------
Key: WELDX-84
URL:
https://jira.jboss.org/jira/browse/WELDX-84
Project: Weld Extensions
Issue Type: Feature Request
Components: Servlet Containers
Reporter: Pete Muir
Attachments: move-tomcat-injection-from-support-jar.patch
Currently we package these as separate jars, due to classloading restrictions.
Would be more convenient for the user to package these in the same jar. If we can find a
better way to add the injection support to Tomcat and Jetty, then perhaps we can do away
with this altogether.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira