diff options
author | Joakim Erdfelt | 2014-10-10 14:05:54 +0000 |
---|---|---|
committer | Joakim Erdfelt | 2014-10-10 14:05:54 +0000 |
commit | b478d490624d90c1e72f3cba44cb5e7c841aafa9 (patch) | |
tree | cd7b420ac9f3178f63933a906f03ceaf8e84a1b6 /tests | |
parent | cba0ce2b9e2b93a79047de6866ba34960d854bc4 (diff) | |
download | org.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.xml | 0 | ||||
-rw-r--r-- | tests/test-cdi/cdi-webapp/src/main/webapp/WEB-INF/web.xml | 11 |
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> |