2 Replies Latest reply on Mar 31, 2005 5:55 PM by keyurva

    Problem referencing an SFSB from another SFSB

    keyurva

      I have a case where SFSB1 creates and references SFSB2... I use dependency injection to inject SFSB2 into SFSB1... My problem is that no matter how many instances of SFSB1 I have, they all reference the same instance of SFSB1...

      Does dependency injection not actually create a new instance of an SFSB? How do I ensure that the container always injects a new SFSB2 into SFSB1?