Norman - Thanks for the quick reply. I have removed all other ears and
restarted the server so the problem should not be related to the classpath
confusion. Since it works in one project, I guess it is ok to outject multiple
objects, some of different type than the factory's type.
@Factory("newUser") @Begin
public void start() {
newUser = new User();
newAddress = new Address();
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028209#4028209
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028209
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user