1 Reply Latest reply on May 23, 2008 11:19 AM by Pascal Verdage

    job executor descriptor

    Tom Baeyens Master


      the job executor descriptor seems like a wrong hack to me. what was the motivation to start thinking of this solution ?

      maybe i can help come up with a better way to do it.

        • 1. Re: job executor descriptor
          Pascal Verdage Newbie

          The motivation was the auto-start attribute for the jobExecutor. If the user don't want to manually start it, he expects it to be stopped automatically.
          In order to do so, I added a listener on the environmentFactory (as for HibernateSessionFactory) to stop the jobExecutor when the application context is closed.