不推荐使用包装服务器引导程序,有什么替代方法? [英] Wrapping server bootstrapper is deprecated, what is the alternative?

查看:33
本文介绍了不推荐使用包装服务器引导程序,有什么替代方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WrappingNeoServer 实例(根据之前版本的手册)必须通过 WrappingNeoServerBootstrapper 创建,现在已弃用.如果我尝试直接实例化 WrappingNeoServer,我需要传递一个 GraphDatabaseAPI 实例,它可以通过 GraphDatabaseService 的简单转换获得,但也被标记为 Deprecated.我只能假设这个功能现在被认为是微不足道的,并且没有办法让嵌入式安装不再与服务器一起运行.我对吗?这个问题能解决我的问题吗?

The WrappingNeoServer instances (according to the manuals to the previous versions) have to be created via WrappingNeoServerBootstrapper, which is deprecated now. And if I try to instantiate WrappingNeoServer directly, I need to pass a GraphDatabaseAPI instance, which could be obtained by a simple cast of the GraphDatabaseService, but is marked as Deprecated as well. I can only assume that this feature is now considered to be marginally necessary and there is no way to get an embedded installation running with the server no more. Am I right? Can this problem be solved in my favor?

推荐答案

您可以覆盖 CommunityNeoServerCommunityServerBootstrapper 来完成您的投标.

You can override CommunityNeoServer and CommunityServerBootstrapper to do your bidding.

这篇关于不推荐使用包装服务器引导程序,有什么替代方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆