fr.paris.lutece.portal.service.init
Class AppInit

java.lang.Object
  extended by fr.paris.lutece.portal.service.init.AppInit

public final class AppInit
extends Object

This class initializes all the application services

Since:
1.1

Method Summary
static String getLoadingFailureCause()
          Returns the cause of the startup failure
static String getLoadingFailureDetails()
          Returns details of the startup failure
static void initServices(javax.servlet.ServletContext context, String strConfPath, String strRealPath)
          Initializes all the application services
static void initServices(String strConfPath)
          Initializes all the application services (used for junit tests)
static boolean isWebappSuccessfullyLoaded()
          Tells if Lutece Startup was successful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2014 Mairie de Paris. All Rights Reserved.