Class AppInit
java.lang.Object
fr.paris.lutece.portal.service.init.AppInit
This class initializes all the application services
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the cause of the startup failurestatic StringReturns details of the startup failurestatic voidinitServices(String strConfPath) Initializes all the application services (used for junit tests)static voidinitServices(javax.servlet.ServletContext context, String strConfPath, String strRealPath) Initializes all the application servicesstatic booleanTells if Lutece Startup was successful
-
Method Details
-
initServices
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 contextstrConfPath- The relative path to the config filesstrRealPath- 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
Returns the cause of the startup failure- Returns:
- the cause of the startup failure
-
getLoadingFailureDetails
Returns details of the startup failure- Returns:
- details of the startup failure
-