Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: load factory #639

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

cssxsh
Copy link
Contributor

@cssxsh cssxsh commented Oct 30, 2022

直接使用 ServiceLoader.load 只能加载到 插件本地的 服务,无法从其他插件加载

@cssxsh
Copy link
Contributor Author

cssxsh commented Oct 30, 2022

使用了 net.mamoe.mirai.api.http.spi.persistence.PersistenceFactory
插件实例

https://github.com/cssxsh/mirai-hibernate-http

@ryoii ryoii merged commit a235e4e into project-mirai:master Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants