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
  • 284,665
  • 62
  • 456
  • 576
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
  • 116,995
  • 20
  • 311
  • 250