I have a service that registers JSON marshalls. I have added the @PostConstruct method which registers marshalers.
But my service is not initialized because no one is using it. I need to enter it to initialize. Can I mark it for initialization when starting Grails? I can enter it in BootStrap.groovy, but this is obvious why BootStrap.groovy really needs it.
source share