Author: pete.muir(a)jboss.org
Date: 2010-02-01 15:50:30 -0500 (Mon, 01 Feb 2010)
New Revision: 5704
Modified:
core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/Castle.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/EnterpriseBeanTest.java
Log:
make the bean stateless, use ejb 3.1 :-)
Modified: core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/Castle.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/Castle.java 2010-02-01
20:48:08 UTC (rev 5703)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/Castle.java 2010-02-01
20:50:30 UTC (rev 5704)
@@ -1,8 +1,8 @@
package org.jboss.weld.tests.enterprise;
-import javax.ejb.Stateful;
+import javax.ejb.Stateless;
-@Stateful
+@Stateless
public class Castle
{
Modified:
core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/EnterpriseBeanTest.java
===================================================================
---
core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/EnterpriseBeanTest.java 2010-02-01
20:48:08 UTC (rev 5703)
+++
core/trunk/tests/src/test/java/org/jboss/weld/tests/enterprise/EnterpriseBeanTest.java 2010-02-01
20:50:30 UTC (rev 5704)
@@ -23,6 +23,7 @@
import org.jboss.testharness.impl.packaging.IntegrationTest;
import org.jboss.testharness.impl.packaging.Packaging;
import org.jboss.testharness.impl.packaging.PackagingType;
+import org.jboss.testharness.impl.packaging.ear.EjbJarXml;
import org.jboss.weld.bean.SessionBean;
import org.jboss.weld.test.AbstractWeldTest;
import org.jboss.weld.test.Utils;
@@ -31,6 +32,7 @@
@Artifact
@IntegrationTest
@Packaging(PackagingType.EAR)
+(a)EjbJarXml("ejb-jar.xml")
public class EnterpriseBeanTest extends AbstractWeldTest
{
Show replies by date