2 Replies Latest reply on Feb 22, 2007 8:47 AM by wolfc

    Injected MBean is not re-injected after SB-activation

      Hello All,

      I have a SFSB with

      @Depends({"NameA:NameB=CacheMBean"})
      protected transient CacheMBean cacheMBean;
      


      This is injected to the bean very well, but after the session-timeout, I want the mbean back to the SFSB:

      @PostActivate
      public void postActivate() {
       if(this.cacheMBean != null) {
       this.cacheMBean.... // never reached - this.cacheMBean is null
       }
      }
      


      Do I have to call any special method to let the container reinject?

      Thanks,
      Carsten