scala - Is it safe to start a Play 2 plugin from another plugin? -
I am writing a play module that contains several plugins (some of which are third parties), and I am thinking Was that my main plugin would be safe to launch all other plugins; Something like this:
extends the class coreplugin (app: app) plugin {lazy val otherplugins = otherplugin (app) slangy valve third party = Thirdparty plugin (app) override def onStart () {otherPlugin.onstart () Third party.onStart ()} Override def ontop () {Third page (Other) plugin on Onstop ()}} Do something like that to play out bizarre?
I'm pretty sure that the play will not be a problem, but plugins actually play plug-in Can be trusted in the middle which can break them, and also, can be listed in conf / play.plugins, can take two examples of the same plugin which may give strange behaviors, etc.
Comments
Post a Comment