[jboss-user] [JBoss Seam] - Re: @In(create=true) throws exception when variable is null?

petemuir do-not-reply at jboss.com
Wed Dec 13 05:18:51 EST 2006


Injection is by variable name not by class.  So

@Name("foo")
  | class Foo {
  | ...
  | }

@In(create=true) Foo foo;
  | 
  | // or
  | 
  | @In(create=true, value="foo") Foo createFoo;

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

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



More information about the jboss-user mailing list