Here it is :)
| @Name("items") | @Scope(ScopeType.CONVERSATION) | public class Items { | | @Logger Log log; | @In EntityManager entityManager; | | private List<Group> groups; | | @Create | public void init() { | log.info("init()"); | groups = entityManager.createQuery("select g from Group g").getResultList(); | } | | public List<Group> getGroups() { | return groups; | } | | public void setGroups(List<Group> groups) { | this.groups = groups; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097153#4097153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097153 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user