All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bpmn.helloworld.Main2 Maven / Gradle / Ivy

package jadex.bpmn.helloworld;

import jadex.bpmn.runtime.BpmnProcess;
import jadex.bpmn.runtime.RBpmnProcess;
import jadex.core.IComponent;

/**
 *  Main for starting the example programmatically.
 */
public class Main2 
{
	/**
	 *  Start a platform and the example.
	 */
	public static void main(String[] args) 
	{
		BpmnProcess.create(new RBpmnProcess("jadex/bpmn/helloworld/Empty.bpmn"));
		
		IComponent.waitForLastComponentTerminated();
		
		System.out.println("process terminated");
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy