0

I am currently working in a spring application 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

Sean Patrick Floyd
  • 292,901
  • 67
  • 465
  • 588
Rishi
  • 224
  • 2
  • 3
  • 11

1 Answers1

3

Hook into the Spring container startup lifecycle (see Execute method on startup in spring) and apply your meta class changes.

Community
  • 1
  • 1
Peter Niederwieser
  • 121,412
  • 21
  • 324
  • 259