Class AppInit
- java.lang.Object
-
- fr.paris.lutece.portal.service.init.AppInit
-
public final class AppInit extends java.lang.ObjectThis class initializes all the application services- Since:
- 1.1
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetLoadingFailureCause()Returns the cause of the startup failurestatic java.lang.StringgetLoadingFailureDetails()Returns details of the startup failurestatic voidinitServices(java.lang.String strConfPath)Initializes all the application services (used for junit tests)static voidinitServices(javax.servlet.ServletContext context, java.lang.String strConfPath, java.lang.String strRealPath)Initializes all the application servicesstatic booleanisWebappSuccessfullyLoaded()Tells if Lutece Startup was successful
-
-
-
Method Detail
-
initServices
public static void initServices(java.lang.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, java.lang.String strConfPath, java.lang.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
public static java.lang.String getLoadingFailureCause()
Returns the cause of the startup failure- Returns:
- the cause of the startup failure
-
getLoadingFailureDetails
public static java.lang.String getLoadingFailureDetails()
Returns details of the startup failure- Returns:
- details of the startup failure
-
-