snaker-core/src/main/java/org/snaker/engine/core/ServiceContext.java
public static SnakerEngine getEngine() {
		AssertHelper.notNull(context, "未注册服务上下文");
		if(engine == null) {
			engine = context.find(SnakerEngine.class);
		}
		return engine;
	}
public static SnakerEngine getEngine() {
		AssertHelper.notNull(context, "未注册服务上下文");
		if(engine == null) {
			engine = context.find(SnakerEngine.class);
		}
		return engine;
	}
public static SnakerEngine getEngine ( ) { AssertHelper . notNull ( context , "未注册服务上下文"); if ( engine == null ) { engine = context . find ( SnakerEngine . class ) ; } return engine ; }
获取注册的引擎实例
@return
获取注册的引擎实例