You seem to know that you are doing so I'll leave the ball with you ;-)
On Wed, 2010-03-24 at 11:41 -0700, Ales Justin wrote:Well, yes and no. The list of listeners that JBossWebMetaData has is
> Yes. :-)
>
> I guess the order from web.xml is then the same as in ServletMetaData (or whatever data we use to hold the listeners metadata)?
> --> since we don't use web.xml, but add Weld listener programmatically in a deployer
ordered (and you can replace it, of course :) ), but there's another
JBossWebMetaData for the shared web.xml that goes before it.
In the shared stuff, there's:
- a security listener which does stuff (ask Anil)
- two JSF listeners
Hum, no :( Now that you mention it, maybe I could do that "shared stuff"
> Is there a way to know which listeners come from default web.xml?
handling in its own deployer, taking the "final" JBossWebMetaData and
merging it with the shared JBossWebMetaData to get a "final final"
JBossWebMetaData.
Hopefully.
> So we can place our Weld listener just after those.