private static JNRPEConfiguration loadConfiguration ( final String configurationFilePath ) throws ConfigurationException { File confFile = new File ( configurationFilePath ) ; if ( ! confFile . exists ( ) || ! confFile . canRead ( ) ) { throw new ConfigurationException ( "Cannot access config file : " + configurationFilePath ) ; } return JNRPEConfigurationFactory . createConfiguration ( configurationFilePath ) ; }
Loads the JNRPE configuration from the INI or the XML file .