* Prefer the use of the getLocator() (no parameter) method over this one.
* @see ApplicationConfig#getLocator()
* @throws ConfigurationException
*/
public static ILocator getLocator(String locatorFileName) throws ConfigurationException {
ILocator locator;
try {
locator = LocatorFactory.getLocator(locatorFileName);
LOGGER.debug("Initialisation du locator {}", locator.getClass().getCanonicalName());
}
catch(LocatorException e) {
String errorMessage = "Cannot create service locator see " + locatorFileName + " " + e.getMessage();
LOGGER.error(errorMessage);
LOGGER.debug("Stack trace", e);