This content has been marked as final.
Show 2 replies
-
1. Re: outjection problem?
norman.richards Mar 14, 2007 7:15 PM (in response to seammm)Did you change the jboss-app.xml to give them separate classloader repositories?
-
2. Re: outjection problem?
seammm Mar 14, 2007 8:08 PM (in response to seammm)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();
}