snaker-core/src/main/java/org/snaker/engine/cfg/Configuration.java
public SnakerEngine buildSnakerEngine() throws SnakerException {
		if(log.isInfoEnabled()) {
			log.info("SnakerEngine start......");
		}
		parser();
		/**
		 * 由服务上下文返回流程引擎
		 */
		SnakerEngine configEngine = ServiceContext.getEngine();
		if(configEngine == null) {
			throw new SnakerException("配置无法发现SnakerEngine的实现类");
		}
		if(log.isInfoEnabled()) {
			log.info("SnakerEngine be found:" + configEngine.getClass());
		}
		return configEngine.configure(this);
	}
public SnakerEngine buildSnakerEngine() throws SnakerException {
		if(log.isInfoEnabled()) {
			log.info("SnakerEngine start......");
		}
		parser();
		/**
		 * 由服务上下文返回流程引擎
		 */
		SnakerEngine configEngine = ServiceContext.getEngine();
		if(configEngine == null) {
			throw new SnakerException("配置无法发现SnakerEngine的实现类");
		}
		if(log.isInfoEnabled()) {
			log.info("SnakerEngine be found:" + configEngine.getClass());
		}
		return configEngine.configure(this);
	}
public SnakerEngine buildSnakerEngine ( ) throws SnakerException { if ( log . isInfoEnabled ( ) ) { log . info ( "SnakerEngine start......" ) ; } parser ( ) ; /**
		 * 由服务上下文返回流程引擎
		 */ SnakerEngine configEngine = ServiceContext . getEngine ( ) ; if ( configEngine == null ) { throw new SnakerException ( "配置无法发现SnakerEngine的实现类"); } if ( log . isInfoEnabled ( ) ) { log . info ( "SnakerEngine be found:" + configEngine . getClass ( ) ) ; } return configEngine . configure ( this ) ; }
构造SnakerEngine对象，用于api集成
通过SpringHelper调用
@return SnakerEngine
@throws SnakerException
构造SnakerEngine对象，用于api集成 通过SpringHelper调用