]
John Ament commented on CDI-659:
--------------------------------
Would it make sense to leverage this ticket as the intro to specifying servlet container
support?
Introduce a provider in-specific servlet listener
-------------------------------------------------
Key: CDI-659
URL:
https://issues.jboss.org/browse/CDI-659
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Java EE integration
Reporter: John Ament
Fix For: 2.1 (Discussion)
Currently, each provider (OWB, Weld) provides a servlet listener for registering CDI in a
plain servlet container. Looking at other specs, e.g. JAX-RS, references to an
implementation in-specific way to register your services are provided. We should do the
same for CDI, allowing a user to register a servlet listener without needing to leverage
provider-specific classes.