*
* @param classLoader the application classloader used to load batch xml
* @return the batch artifacts definition object
*/
public static BatchArtifacts loadBatchXml(final ClassLoader classLoader) throws JobStartException {
BatchArtifacts batchArtifacts = null;
final InputStream is = classLoader.getResourceAsStream(ARCHIVE_BATCH_XML);
if (is == null) { //the app doesn't contain META-INF/batch.xml
return null;
}