0 Replies Latest reply on Jun 12, 2013 9:36 AM by Scott Marlow

    Can @DataSourceDefinition be started earlier in WF8?  Install phase is too late...

    Scott Marlow Master

      Does IJ need to use the application classloader to load classes when starting a DataSourceDefinition?  If we only need to scan classes via jandex, there might not be any reason why we couldn't start the datasource during the Phase.FIRST_MODULE_USE (so that JPA persistence unit services can depend on @DataSourceDefinitions).

       

      From this post, I would like an answer as to whether DataSourceDefinitions can be started during the FIRST_MODULE_USE phase.  So, we can design appropriately.

       

      Thanks,

      Scott