protected IEngine getEngine() {
        return ServiceRegistryUtil.getSingleService(IEngineAccessor.class).getEngine();
    }
@return the api management runtime engine
gateway/api/rest-impl/src/main/java/io/apiman/gateway/api/rest/impl/AbstractResourceImpl.java