3 Replies Latest reply on May 15, 2009 2:30 AM by Stuart Douglas

    Injecting Session-scoped object in Application-scoped component

    Vladimir Ralev Newbie

      I have an app scoped component and I expect everytime I call the show method the sessionScoped object to be injected depending on the session I am calling from, however it doesnt work. It seems the sessionScoped object will be injected only once, the first time I call the show method. After that it's flagged as injected and ignored by the BijectionInterceptor. May be it's better to proceed with the injection instead of objects from finer-grained-contexts instead?

      public class App {
          @In SessionScoped sessionScoped;
          public void show() {