I am currently working in a spring applic开发者_运维知识库ation and using groovy for few tasks
I have written few groovy meta class enhancements that i want to use application wide, dont have any idea as to how they can made availaible application wide.
Any ideas
Hook into the Spring container startup lifecycle (see Execute method on startup in spring) and apply your meta class changes.
精彩评论