Class DaoServiceTester


  • public class DaoServiceTester
    extends java.lang.Object
    All exposed DAOs from features/distributed/dao-impl should be loadable within a Sentinel Container. While the bundle starts it is not guaranteed that this is actually the case. In order to ensure the loading of the DAOs this class loads all exposed services and performs some tests. The goal is not to cover ALL possibilities, but to ensure that the DAOs can at least be loaded. Further tests may be necessary.
    Author:
    mvrueden
    • Constructor Summary

      Constructors 
      Constructor Description
      DaoServiceTester​(org.osgi.framework.BundleContext bundleContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void verifyExposedDaos()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DaoServiceTester

        public DaoServiceTester​(org.osgi.framework.BundleContext bundleContext)
    • Method Detail

      • verifyExposedDaos

        public void verifyExposedDaos()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception