Code example:
| ...
| @Name("componentA")
| @Stateful
| public class ComponentA{
|
| @In(required=false)
| @Out(required=false, scope=PAGE)
| private Integer x;
|
| @Factory("x")
| public void initX(){
| x = 1;
| }
|
| public void someMethod(){
| ... // why is 'x' null here?
| }
|
| }
|
How I can tell Seam to invoke the Factory Method whenever someMethod() is
called if 'x' is null?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127811#4127811
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127811
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user