ok, that was easy after I found @PersistenceUnit which injects the EntityManagerFactory (this also works on mbeans, and the persistence-unit is initialized before the mbean: so in case you want to do something fancy with the EntityManagerFactory, you can do so in the create() of an MBean...)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975409#3975409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975409 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
