Dear Stackoverflow Gurus, I am working with Grails for one of the projects and find this technology very fun to work with. During development of some logic however I need to wait for a long time for a restarting of application in order to test the change that is implemented. This means that after changing single line of code I need to wait for 5+ minutes (because of multiple plugins that are loaded during startup of application) to verify it. Also because of custom logic of some service in project for shutdown I am not be able to use some tools like JRebel or DCEVM. So I am trying to find some custom solution for fast restart without loading the plugins again. Auto recompilation of project is enabled. I find that one method of service (that has custom logic for shutdown) annotated with @PreDestroy annotation from JSR standard is executed during recompilation but the methods annotated with @PostConstruct never do. Which event is triggered after Grails Recompilation during initialization? I found that neither methods from BootStrap, nor GrailsAutoConfiguration classes are called (like 'init', 'onStartup', 'doWithApplicationContext').
Grails 5.2.5 which event is triggered during recompilation
69 Views Asked by Viktor Kalashnykov At
0
There are 0 best solutions below
Related Questions in GRAILS
- Table UserRole not populated in Grails 6
- Grails run-app or grails compile is not working with 6..0.0( java 11 or 17)
- Hibernate OptimisticLocking(type = OptimisticLockType.DIRTY) not working
- HibernateOptimisticLockingFailureException in Groovy / Grails, how to proceed after recovry
- Grails with Spring Security: How do I keep a password history to prevent password reuse
- How can I configure a Grails application using the Spring Security Rest plugin to authenticate with Amazon Cognito
- Grails - Problem to Exclude a Filter from Specific Endpoints
- Why are my beans disabled onStartUp after upgrading to grails5?
- Getting error on upgrading mysql 8 with grails 2.4.3
- get XFF using angular
- how to compare to collections of map in groovy
- Grail/GORM Data Service @Query - Join with Multiple Conditions
- Build Grails project with specific environment
- Grails params in controller empty on too large post request
- Grails5 upgrade - hibernate now returning a hibernate proxy instead of actual object - why?
Related Questions in GRAILS-5
- Grails 5 RestfulController extension is showing default constructor missing problem
- grails 5 spring security 5 403 error page is not shown
- Exception URL is called but view page is not shown in grails
- # sign is not working properly for URL access check in spring security 5
- java.lang.ClassNotFoundException: org.grails.core.cfg.DeprecatedGrailsConfig
- Grails 5 apps throw stack overflow error on development reload
- Grails 5.2.5 which event is triggered during recompilation
- Trouble Deploying Grails Application After Upgrading to Ver. 5.1.2 in Tomcat Server
- How do I add a custom method to grails 5.2.4 service interface?
- How to Modify Grails 5 Configuration by Adding Groovy Files
- GrailsApplication not found when running test in Grails 5
- Grails 5.1 multi plugin dependency issue
- Grails 5 change: how to inject taglib into Controller
- Is there any way to use Thymeleaf in grails instead of GSPs?
- Grails 5.2 can't deploy to JBoss EAP 7.4
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?