anonymous wrote : First, it looks like the transition object is only @In, not 
@In @Out. But it's pretty clear that myActionListener is trying to communicate 
some state outwards to the conversation. So why not @Out also? Or is @Out only 
for cases where new contextual objects might be outjected (as opposed to just 
side-effecting existing ones)?

Right, this is a byvalue/byreference question. You can change the state of an 
@In-jected object by calling its method. This is not side-effecty. It is how 
any variable in Java works :-)

anonymous wrote : Second, is it assumed that there is only one unique @In 
Transition field in the bean? Is that always a good assumption? It seems a 
little fragile.

By definition, there is a unique instance of the Seam component named 
"transition" in your conversation context. It don't matter how many times you 
inject it, it will always be the same one. Until you switch conversations, that 
is ;-)



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to