开发者

Is there an equivalent to the Bootstrap class in a Plugin

Is there an a way to initialise some data in a Plugin. I am modulizing my code and it would be nice to ha开发者_高级运维ve something like the bootstrap in the Plugin but I cannot find it. Nor can I find references using the Google.


BootStrap.groovy is excluded by default from a plugin zip, but you can create a MyPluginBootStrap.groovy (name doesn't matter, just can't be BootStrap) and that'll be packaged and run along with the application's BootStrap.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜