Instead of 

  | @Factory("users")
  | public List<User> getUsers() {
  |             
  |     List<User> retUsers = null;
  | ...
  |         return retUsers;            
  | }
  | 

you probably want something like

  | @Factory("users")
  | public void getUsers() {
  |             
  |     List<User> retUsers = null;
  | ...
  |         users = retUsers;           
  | }
  | 

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

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

Reply via email to