2 Replies Latest reply on Feb 22, 2007 8:47 AM by Carlo de Wolf

    Injected MBean is not re-injected after SB-activation

    Carsten Rudat Novice

      Hello All,

      I have a SFSB with

      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:

      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?