Debian Codegraph @

jetty-cdi/src/main/config/modules/cdi.mod

raw
1 # DO NOT EDIT - See: https://jetty.org/docs/9/startup-modules.html
2
3 [description]
4 Support for CDI inside the webapp.
5 This module does not provide CDI, but configures jetty to support various
6 integration modes with a CDI implementation on the webapp classpath.
7 CDI integration modes can be selected per webapp with the "org.eclipse.jetty.cdi"
8 init parameter or defaults to the mode set by the "org.eclipse.jetty.cdi" server
9 attribute (which is initialised from the "jetty.cdi.mode" start property).
10 Supported modes are:
11 CdiSpiDecorator - Jetty will call the CDI SPI within the webapp to decorate
12 objects (default).
13 CdiDecoratingLister - The webapp may register a decorator on the context attribute
14 "org.eclipse.jetty.cdi.decorator".
15
16 [tag]
17 cdi
18
19 [provides]
20 cdi
21
22 [depend]
23 deploy
24
25 [xml]
26 etc/cdi/jetty-cdi.xml
27
28 [lib]
29 lib/jetty-cdi-${jetty.version}.jar
30 lib/apache-jsp/org.mortbay.jasper.apache-el-*.jar
31
32 [ini]
33 jetty.webapp.addSystemClasses+=,org.eclipse.jetty.cdi.CdiServletContainerInitializer
34 jetty.webapp.addServerClasses+=,-org.eclipse.jetty.cdi.CdiServletContainerInitializer