bundler.createBundle(jarLocation, clz);
Location deployJar = locationFactory.create(clz.getName()).getTempFile(".jar");
Flow flow = (Flow) clz.newInstance();
FlowSpecification flowSpec = new DefaultFlowSpecification(clz.getClass().getName(), flow.configure());
// Creates Manifest
Manifest manifest = new Manifest();
manifest.getMainAttributes().put(ManifestFields.MANIFEST_VERSION, "1.0");
manifest.getMainAttributes().put(ManifestFields.MAIN_CLASS, clz.getName());