[
https://issues.jboss.org/browse/WFLY-8693?page=com.atlassian.jira.plugin....
]
Martin Kouba commented on WFLY-8693:
------------------------------------
Moved from WildFly Swarm. It seems that dynamic servlet registrations are not treated as
regular EE components, ie. resource injection is not performed.
@Resource not working on Dynamic Servlets
-----------------------------------------
Key: WFLY-8693
URL:
https://issues.jboss.org/browse/WFLY-8693
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 10.1.0.Final
Reporter: Dan Siviter
When a dynamic servlet is used then {{@Resource}} does not work. When using
{{@WebServlet}} it does inject fine and only appears to be associated with dynamic ones.
Test used {{ManagedExecutorService}} but it may apply to more.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)