Akka Guice 集成
安装
将以下内容添加到您的 build.sbt:
resolvers += " release repository " at " http://chanan.github.io/maven-repo/releases/ "
resolvers += " snapshot repository " at " http://chanan.github.io/maven-repo/snapshots/ "
添加到您的库依赖项:
" akkaguice " %% " akkaguice " % " 0.8.3 "
初始化
首先,创建或编辑 conf/play.plugins。 添加行(插件前面的数字是您播放应用程序内的加载顺序):
10000:akkaGuice.AkkaGuicePlugin
在 Global.java 中使用 AkkaGuiceModu
2021-07-06 17:07:12
61KB
Java
1