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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user