[jboss-jira] [JBoss JIRA] (WFLY-897) Lifecycle and injections ignored in @ManagedBean dynamic Servlet
Brian Stansberry (JIRA)
issues at jboss.org
Fri Feb 7 23:02:28 EST 2014
[ https://issues.jboss.org/browse/WFLY-897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFLY-897:
----------------------------------
Component/s: Web (JBoss Web)
> Lifecycle and injections ignored in @ManagedBean dynamic Servlet
> ----------------------------------------------------------------
>
> Key: WFLY-897
> URL: https://issues.jboss.org/browse/WFLY-897
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (JBoss Web)
> Reporter: Cheng Fang
> Assignee: Remy Maucherat
>
> These classes are annotated with javax.annotation.ManagedBean, and added as dynamic servlet. The regular request processing works, but all lifecycle callback methods and resource injectsions in this dynamic servlet class are ignored.
> Since this class is a managed bean, these annotations need to be honored, though dynamic servelt itself does not require so.
> {quote}
> 4.4.3.5 Annotation processing requirements for programmatically added Servlets, Filters and Listeners
> Resource injection on all components (Servlets, Filters and Listeners) added programmatically or created programmatically, other than the ones added via the methods that takes an instance, will only be supported when the component is a Managed Bean.
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list