[jboss-user] [JBoss Microcontainer] - Is there auto-injection going on?

jaikiran pai do-not-reply at jboss.com
Tue Apr 27 11:27:28 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"Is there auto-injection going on?"

To view the discussion, visit: http://community.jboss.org/message/539828#539828

--------------------------------------------------------------
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
[http://community.jboss.org/message/539828#539828]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100427/ab88f782/attachment.html 


More information about the jboss-user mailing list