[jboss-user] [JBoss Seam] - Re: Factory.. not being called when I first use the bean?
christian.bauer@jboss.com
do-not-reply at jboss.com
Sun Apr 15 08:40:30 EDT 2007
anonymous wrote :
| @Factory("categoriesSet") // Is run whenever this bean is created.
|
This is not what factory methods do. Check the docs, factories are used when a contextual variable needs to be resolved and it is null. You probably want @Create.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037363#4037363
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037363
More information about the jboss-user
mailing list