Nonono!

  | 
  |     @In 
  |     EntityManager filteredEntityManager;
  |     @In 
  |     EntityManager unFilteredEntityManager;
  |     
  |     @Factory("entityManager")
  |     public EntityManager selectEntityManager(){
  |             return identity.isLoggedIn() ? filteredEntityManager : 
unFilteredEntityManager;
  |     }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050315
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to