0 Replies Latest reply on Aug 15, 2007 9:55 AM by Moshe Ben Shoham

    SAR to depend on all datasources?

    Moshe Ben Shoham Newbie


      I have a SAR that dynamically scans the JNDI tree to discover the deployed datasources. I need to make sure all datasources are loaded before the SAR is. I know I can define the dependency explicitly in the jboss-service.xml like this:

       <mbean code="com.blabla"

      but I don't want to maintain this list together with the datasources list. Can I somehow depend on all datasources?