Yes... It started working after I've included the component in conversation
scope:
@Name("drugOrderHome")
| public class DrugOrderHome extends EntityHome<DrugOrder>{
| private static final long serialVersionUID = 2666375478687085792L;
|
| @In(create=true)
| private SourceConsumptionHome sourceConsumptionHome;
@Name("sourceConsumptionHome")
| @Scope(ScopeType.CONVERSATION)
| public class SourceConsumptionHome {
OK... it's working nicely and perfectly. But to finish this topic, 2 more
questions to the gurus:
1 - Why the first component doesn't require a @Scope(ScopeType.CONVERSATION)
declaration like the second ? (the first component remains in memory up to the
end of the conversation);
2 - I tryed before @In(create=true, scope=ScopeType.CONVERSATION) to inject the
second component, but it wasn't created in a conversation scope. What does this
declaration mean?
Thanks,
Ricardo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051918#4051918
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051918
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user