This content has been marked as final.
Show 2 replies
-
1. Re: Injecting several beans of the same type/kind/class
norman.richards Mar 21, 2007 10:27 PM (in response to toni)Seam will not create an instance of a component if it does not have a component definition for the component name. If you want it to, you need to declare addition @Role names on the entity or add the details to components.xml.
-
2. Re: Injecting several beans of the same type/kind/class
toni Mar 22, 2007 9:07 AM (in response to toni)I think it would be a nice feature if this woul work automatically. If I define a component to be created upon injection, then why only the one which is marked with a @Name("xxx) annotation?