Community

Is there auto-injection going on?

reply from jaikiran pai in JBoss Microcontainer - View the full discussion

There's no auto-injection going on :) Instead there's an explicit call to MCBean.setSimpleBean from SimpleBean.setRefBean:

 

public void setRefBean(MCBean refBean)
   {
      System.out.println("Setting ref bean: " + refBean);
      refBean.setSimpleBean(this);
      this.refBean = refBean;
   }

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community