Re: Event or Hook of Module is initialized

2019-12-17 Thread Dan Haywood
Ok, great to hear that! On Tue, 17 Dec 2019, 18:13 Jayesh Prajapati, wrote: > Hi Dan, > This solution worked just fine for me. I also found this information in > annotation guide :) > > Cheers, > Jayesh > > On Tue, Dec 17, 2019 at 6:15 PM Dan Haywood > wrote: > > > Hi Jayesh, > > It's a good

Re: Event or Hook of Module is initialized

2019-12-17 Thread Jayesh Prajapati
Hi Dan, This solution worked just fine for me. I also found this information in annotation guide :) Cheers, Jayesh On Tue, Dec 17, 2019 at 6:15 PM Dan Haywood wrote: > Hi Jayesh, > It's a good question. I know in V2 this is/will be easy, because Spring > Boot provides a callback. > > For v1,

Re: Event or Hook of Module is initialized

2019-12-17 Thread Dan Haywood
Hi Jayesh, It's a good question. I know in V2 this is/will be easy, because Spring Boot provides a callback. For v1, what you could do is define a "SeedService" for the module, and perform your work in its @PostConstruct. There are some examples of this in GitHub.com/incodehq/incode-platform.

Event or Hook of Module is initialized

2019-12-17 Thread Jayesh Prajapati
Hi, Is there an Event or Hook which indicate that a module is successfully initialised ? I need to this to perform some activity/task in automated manner after a module is installed. For example, a factory defined in core module and relevant object registrations to be done in dependent