On Aug 12, 2013, at 8:40 AM, Mark Thomas <ma...@apache.org> wrote:

> On 12/08/2013 16:20, Jeremy Boynes wrote:
> 
> I'm wondering about adding enableWebSockets() and enableJSPs() methods
> to Tomcat which would automatically add the relevant SCI to any Context
> created via one of the addContext(...) methods. Thoughts?

I'm torn on this. On the up side, this would be a simple way to enable a 
specific feature. On the down side it would mean Catalina would need to know 
about features' SCIs which is adding coupling. An embedder would need to have 
added the JARs for the feature to the classpath at some point so how about just 
adding a loadServletContainerInitializers() method which would trigger the same 
discovery process ContextConfig was using?

--
Jeremy

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to