No it isn't. @Factory("name") on a void method tells Seam to call this method
when "name" needs to be created. This method typically sets an instance
variable that is labeled for outjection like in Gavin's example. What is
different in Gavin's example is that @DataModel implicitly outjects. All
databinders implicitly outject.
There is a new feature in CVS that allows you to specify a return value for
@Factory methods. If specified this value will be outjected. This actually
causes problems for older apps (like mine) who depended on this not happening.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958310#3958310
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958310
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user