-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename attributes and classes to have a more regular pattern. The DecoratingListener is now extened by the CdiDecoratingListener which is used by the cdi-decorate module Signed-off-by: Greg Wilkins <[email protected]>
- Loading branch information
Showing
9 changed files
with
68 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html | ||
|
||
[description] | ||
CDI SPI integration for CDI inside the webapp. | ||
This module does not provide CDI, but configures jetty to look for the CDI SPI within | ||
a webapp. If the CDI SPI is found, then a CdiDecorator will be registered to | ||
decorate Listeners, Filters and Servlets using the standard CDI SPI. | ||
The module indicates to the webapp that this mechanism is available by setting the | ||
"org.eclipse.jetty.cdi" context attribute to "CdiDecorator". | ||
This is the preferred integration for OWB. | ||
Configures Jetty to use the "CdiSpiDecorator" that calls the CDI SPI | ||
as the default CDI integration mode. | ||
|
||
[tag] | ||
cdi | ||
|
||
[depend] | ||
deploy | ||
[provides] | ||
cdi-mode | ||
|
||
[lib] | ||
lib/jetty-cdi-${jetty.version}.jar | ||
lib/apache-jsp/org.mortbay.jasper.apache-el-*.jar | ||
[depend] | ||
cdi | ||
|
||
[ini] | ||
jetty.webapp.addSystemClasses+=,org.eclipse.jetty.cdi.CdiServletContainerInitializer | ||
jetty.webapp.addServerClasses+=,-org.eclipse.jetty.cdi.CdiServletContainerInitializer | ||
jetty.cdi.mode=CdiSpiDecorator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,33 @@ | ||
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html | ||
|
||
[description] | ||
Deprecated CDI module. Current depends on cdi-spi. | ||
Support for CDI inside the webapp. | ||
This module does not provide CDI, but configures jetty to support various | ||
integration modes with a CDI implementation on the webapp classpath. | ||
CDI integration modes can be selected per webapp with the "jetty.cdi.mode" | ||
init parameter or default to the mode set by the "jetty.cdi.mode" server attribute. | ||
Supported modes are: | ||
CdiDecorator - Jetty will call the CDI SPI within the webapp to decorate | ||
objects (default). | ||
DecoratingLister - The webapp may register a decorator on the context attribute | ||
"org.eclipse.jetty.cdi.decorator". | ||
|
||
[tag] | ||
cdi | ||
|
||
[provides] | ||
cdi | ||
|
||
[depend] | ||
cdi-spi | ||
deploy | ||
|
||
[xml] | ||
etc/cdi/jetty-cdi.xml | ||
|
||
[lib] | ||
lib/jetty-cdi-${jetty.version}.jar | ||
lib/apache-jsp/org.mortbay.jasper.apache-el-*.jar | ||
|
||
[ini] | ||
jetty.webapp.addSystemClasses+=,org.eclipse.jetty.cdi.CdiServletContainerInitializer | ||
jetty.webapp.addServerClasses+=,-org.eclipse.jetty.cdi.CdiServletContainerInitializer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ implementation in the webapp. | |
[tag] | ||
cdi | ||
|
||
[provides] | ||
cdi-mode | ||
|
||
[depend] | ||
deploy | ||
|
||
|
165 changes: 0 additions & 165 deletions
165
jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiDecorator.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters