Class AppInit


  • public final class AppInit
    extends Object
    This class initializes all the application services
    Since:
    1.1
    • Method Detail

      • initServices

        public static void initServices​(String strConfPath)
        Initializes all the application services (used for junit tests)
        Parameters:
        strConfPath - The relative path to the config files
      • initServices

        public static void initServices​(javax.servlet.ServletContext context,
                                        String strConfPath,
                                        String strRealPath)
        Initializes all the application services
        Parameters:
        context - The servlet context
        strConfPath - The relative path to the config files
        strRealPath - The real path to the config files
      • isWebappSuccessfullyLoaded

        public static boolean isWebappSuccessfullyLoaded()
        Tells if Lutece Startup was successful
        Returns:
        True, if no error, otherwise false
      • getLoadingFailureCause

        public static String getLoadingFailureCause()
        Returns the cause of the startup failure
        Returns:
        the cause of the startup failure
      • getLoadingFailureDetails

        public static String getLoadingFailureDetails()
        Returns details of the startup failure
        Returns:
        details of the startup failure