Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoakim Erdfelt2014-10-10 14:05:54 +0000
committerJoakim Erdfelt2014-10-10 14:05:54 +0000
commitb478d490624d90c1e72f3cba44cb5e7c841aafa9 (patch)
treecd7b420ac9f3178f63933a906f03ceaf8e84a1b6 /tests
parentcba0ce2b9e2b93a79047de6866ba34960d854bc4 (diff)
downloadorg.eclipse.jetty.project-b478d490624d90c1e72f3cba44cb5e7c841aafa9.tar.gz
org.eclipse.jetty.project-b478d490624d90c1e72f3cba44cb5e7c841aafa9.tar.xz
org.eclipse.jetty.project-b478d490624d90c1e72f3cba44cb5e7c841aafa9.zip
Tweaking WeldDeploymentBinding for more accurate weld setup
Diffstat (limited to 'tests')
-rw-r--r--tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/beans.xml0
-rw-r--r--tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/web.xml11
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/beans.xml b/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/beans.xml
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/beans.xml
diff --git a/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/web.xml b/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/web.xml
index 292a1677ca..fe2940c4f8 100644
--- a/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/web.xml
+++ b/tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/web.xml
@@ -4,4 +4,15 @@
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<display-name>CDI Integration Test WebApp</display-name>
+
+ <listener>
+ <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
+ </listener>
+
+ <resource-env-ref>
+ <description>Object factory for the CDI Bean Manager</description>
+ <resource-env-ref-name>BeanManager</resource-env-ref-name>
+ <resource-env-ref-type>javax.enterprise.inject.spi.BeanManager</resource-env-ref-type>
+ </resource-env-ref>
+
</web-app>

Back to the top