Class Utils


  • public class Utils
    extends Object
    Utilities to create a configured Habitat and cache them
    Author:
    Jerome Dochez
    • Field Detail

      • instance

        public static final Utils instance
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getHabitat

        public org.glassfish.hk2.api.ServiceLocator getHabitat​(ConfigApiTest test)
      • getNewHabitat

        public static org.glassfish.hk2.api.ServiceLocator getNewHabitat()
      • getNewHabitat

        public static org.glassfish.hk2.api.ServiceLocator getNewHabitat​(String root)
      • shutdownServiceLocator

        public void shutdownServiceLocator​(ConfigApiTest test)