[jboss-user] [JBoss Seam] - Re: Injection and relation between components
hstang
do-not-reply at jboss.com
Wed Jun 6 18:36:28 EDT 2007
Hello,
"rmemoria" wrote : 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);
|
You extended EntityHome, which I assume is part of the framework package in Seam, which is setup as conversation-scoped by default.
"rmemoria" wrote :
| 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?
|
I'm guessing it means to inject a context variable from the conversation scope. If it's not found, create it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051920#4051920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051920
More information about the jboss-user
mailing list