Hello, Borrowed the concept from example "message", I implemented the following Seam component:
@Stateful | @Scope(ScopeType.SESSION) | @Name("orderMgr") | public class PendingOrdersManagerBean implements PendingOrdersManager, Serializable { | private static final long serialVersionUID = 1L; | | @DataModel | private List<TdOrderInfo> workingOrders; | | @DataModelSelection | @Out(required=false) | private TdOrderInfo orderInfo; | | @Factory("workingOrders") | @Observer("newOrder") | public void getPendingOrders() { | ... | } And @Name("orderInfo") | @Scope(ScopeType.EVENT) | public class TdOrderInfo implements Serializable { | private static final long serialVersionUID = 1L; | private OrderInfo orderInfo = null; | private String lockOwner = null; | | public TdOrderInfo() {} | ... | } However, the method that is marked with @Factory was never called. What am I missing here? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044856#4044856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044856 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user