[weld-dev] Ordering of servlet listeners
Pete Muir
pmuir at redhat.com
Mon Apr 12 07:29:47 EDT 2010
On 24 Mar 2010, at 18:30, Remy Maucherat wrote:
> On Wed, 2010-03-24 at 11:00 -0700, Ales Justin wrote:
>> I'm following the weld-dev, no worries. ;-)
>> (although, if I don't reply, then JBossAS dev forum is definitely the place to reach me)
>>
>> I'll have a look on how this ordering is done.
>> Or Remy might already know this ootb. :-)
>
> Ok, so there are already some default listeners that go first (the
> shared ones from the default web.xml). Do you really need to be before
> these ones ? It's quite simple really, the order is the order of
> declaration in the descriptors, so the first one in web.xml goes first
> (after the ones in the shared web.xml).
I don't think we need to go around/before other JBoss infrastructure listeners as they don't need to use CDI services. As long as we go before user-specified listeners we are good.
Pete
More information about the weld-dev
mailing list