Implementing dynamic plugins in Java

后端 未结 5 1841
心在旅途
心在旅途 2021-01-31 10:45

I\'d like to implement a dynamic plugin feature in a Java application. Ideally:

  • The application would define an interface Plugin with a method like
5条回答
  •  猫巷女王i
    2021-01-31 11:36

    The best way to implement plug-ins with Guice is with Multibindings. The linked page goes into detail on how to use multibindings to host plugins.

提交回复
热议问题