Author: dan.j.allen
Date: 2010-06-15 01:25:10 -0400 (Tue, 15 Jun 2010)
New Revision: 6430
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java
Log:
remove stateless
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java
===================================================================
---
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java 2010-06-13
13:02:20 UTC (rev 6429)
+++
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java 2010-06-15
05:25:10 UTC (rev 6430)
@@ -1,12 +1,10 @@
package ${package};
-import javax.ejb.Stateless;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.Disposes;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
-@Stateless
public class WidgetRepositoryProducer
{
// NOTE cannot use producer field because Weld attempts to close EntityManager
Show replies by date