3 Replies Latest reply on Jan 6, 2014 12:57 PM by Wolf-Dieter Fink

    Reset EJB 'slsb' pool : force reinject ESB instances

    pleutre pleutre Newbie

      Hi all,

       

      We use @Inject on our @Stateless beans to load configuration. It works well with a @Producer to inject configuration parameters.

       

      But, the already instantiated EJB are not reinjected (logical after all) and are not aware of the new configuration.

       

      Any way to reset the stateless session bean pool ?

      I took a look in the code, StrictMaxPool do not have reset method, yeah...

       

      If you have a better idea than add my own pool (if possible) that will have reset and that will be accessible from my application...

       

      I know it's a kind of hack for the Container architecture but I need this functionnality.

       

      Regards,

       

      P.