[jboss-user] [JBoss Seam] - Re: Seam managed entity manager and sessions beans

moshe@egis-software.com do-not-reply at jboss.com
Mon Jun 4 02:17:55 EDT 2007


I have tried using @PostContruct and @Create


  | @Name("importer")
  | @Scope(ScopeType.SESSION)
  | @Stateful
  | public class Importer  implements ImporertLocal, Serializable{	
  | 	
  | 	private CabinetSelectionModel cabinetSelector;
  | 	
  | 	@In(create=true)
  | 	private EntityManager em;	
  | 	
  | 	@PostConstruct
  | 	public void init() {
  | 		cabinetSelector = new CabinetSelectionModel(em);
  | 	}
  | }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050799#4050799

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050799



More information about the jboss-user mailing list