[jboss-user] [JBoss Seam] - Re: @In(create=true) throws exception when variable is null?
SmokingAPipe
do-not-reply at jboss.com
Wed Dec 13 05:01:33 EST 2006
Actually, it's like this:
@In(create=true) Foo createFoo;
and I don't have an entity with a name of createFoo, and I don't have a factory called createFoo. I thought that @In(create=true) would just use the constructor for the class Foo? Do I also need a factory for it? Or should I use a method with the @Create annotation? I'm a bit lost, not knowing the nuances of where to put these things. I feel like I'm starting to get an understanding though.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993315#3993315
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993315
More information about the jboss-user
mailing list