Author: dallen6
Date: 2009-02-02 12:45:03 -0500 (Mon, 02 Feb 2009)
New Revision: 1386
Modified:
tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/AbstractTest.java
Log:
Added new deployEjbBeans() method for EE 5 EJB container bean deployments.
Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/AbstractTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/AbstractTest.java 2009-02-02
17:16:52 UTC (rev 1385)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/AbstractTest.java 2009-02-02
17:45:03 UTC (rev 1386)
@@ -111,6 +111,11 @@
return configuration().getBeans().createProducerFieldBean(field, producerBean);
}
+ /**
+ * Used to deploy simple beans in a Web container.
+ *
+ * @param classes A list of classes representing the beans to deploy
+ */
protected void deployBeans(Class<?>... classes)
{
if (getEnabledDeploymentTypes().size() > 0)
@@ -123,6 +128,17 @@
}
}
+ /**
+ * Used to deploy any EJB 3.1 beans to the appropriate container. TODO This
+ * needs to use a different container in EE 5 for deployment.
+ *
+ * @param classes A list of classes representing the beans to deploy
+ */
+ protected void deployEjbBeans(Class<?>... classes)
+ {
+ deployBeans(classes);
+ }
+
protected final List<Class<? extends Annotation>>
getStandardDeploymentTypes()
{
return new ArrayList<Class<? extends
Annotation>>(STANDARD_DEPLOYMENT_TYPES);
Show replies by date