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