class LiteflowMainAutoConfiguration {

	@Inject(value = "${liteflow.parseOnStart}", required = false)
	boolean parseOnStart;

	@Inject
	AppContext appContext;

	@Inject
	LiteflowConfig liteflowConfig;

	@Init
	public void flowExecutor() {<FILL_FUNCTION_BODY>}

}

		//
		// 实例化FlowExecutor
		//
		FlowExecutor flowExecutor = new FlowExecutor();
		flowExecutor.setLiteflowConfig(liteflowConfig);

		if (parseOnStart) {
			flowExecutor.init(true);
		}

		appContext.wrapAndPut(FlowExecutor.class, flowExecutor);
	
<no_super_class>