Artem Zhirkov
Artem Zhirkov

Reputation: 157

Installing grails plugins in a runtime

I'm working on a modular grails application and I'm interested in registering / installing grails plugins during a runtime, preferably without having to restart the application. Is it technically possible? How it can be done?

Thanks

Upvotes: 1

Views: 162

Answers (1)

Joshua Moore
Joshua Moore

Reputation: 24776

While it might be possible to hack the plugin system completely apart and make this work in some fashion it's not really feasible.

Given the way plugins within a Grails application are installed (documentation) and that the entire plugin system is designed to be used at build time I would advise against even attempting this.

If you are looking for a modular approach to installing and removing portions of your application at runtime you might be better off looking into OSGI.

Upvotes: 1

Related Questions