[jboss-user] [JBoss Seam] - Injection when using abstract parent class

gmanwani do-not-reply at jboss.com
Sat Feb 10 00:56:04 EST 2007


I currently have an abstract base class

public abstract AbstractFoo {
  init() {
  }
}

public Foo extends AbstractFoo {
 @In
  private SomeObj seamcomp1;

  public Foo() {
    init();
  }

}

When I create an object of Foo will seamcomp1 be initialized i.e would it have had it value injected?

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

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



More information about the jboss-user mailing list