I'm setting up relationships between entities from EntityHome subclasses. In a bidirectional relationship I have one EntityHome injecting the value of the other entity, and that entity's EntityHome injecting the value of the first.
This seems like it's going to work fine, except for not knowing how to outject the value of the first EntityHome's entity so that the second EntityHome can inject it. In the first EntityHome I have as follows: @Factory("firstEntity") | public FirstEntity init() { return getInstance(); } | | @In | private SecondEntity secondEntity; In the second EntityHome I have as follows: @In | private FirstEntity firstEntity; It is this line that complains about not finding a "firstEntity" contextual component to inject...why? Isn't my declaring it as @Factory("firstEntity") enough? How would I outject appropriately? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016879#4016879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016879 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user