[jboss-user] [JBoss Seam] - Question on Injection by Factory

kasim do-not-reply at jboss.com
Fri Aug 4 15:46:39 EDT 2006


Somewhat of a small question.

Class A has - 

@In(required = false, create = true)
 private Message message;


However class A has no @Factory method.

Class B has a @Factory("message")

Message is a seam component

.. so when i run code to call Class A ... Class B's factory also gets called.

I assume this is normal behaviour since we wanted it to create it and searched out something to create??



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963307



More information about the jboss-user mailing list