4 Replies Latest reply on Oct 2, 2009 3:51 AM by yahawari

    How to inject session-scoped components in a quartz-created component

    etirk

      As the title reveals...how do one make a quartz-created component find session scoped components.
      Our app spawns a quartz job in a component that is defined to be in session scope.
      Logger and EntityManager is injected correctly. Also other components created by other quartz-components can
      be found in their scope's (application, or session).
      But session-scoped (and application-scoped) components that are not created by a quartz-component, seems to be missing from scope.
      Does quartz-components live in their own little world?


      Goal:
      A session-scoped component should spawn a session-scoped quartz job, that run now and then to update the session with data from application scope. Seems like a pretty simple task right?


      /K