I've found that to achieve what I'm trying to do (have different ContextSelectors in different web apps deployed on the same server), I had to go the JNDI approach and allow the desired contextselector to be specified in the environment entries for the webapp. I've included a patch (its just a few lines longer) to the ContextSelectorStaticBinder to also check the environment entries for the classname. I also took the liberty of renaming "dynamical" to "dynamic" while I was at it. Please see latest patch, thanks! |