If you need some beans to be instantiated only when a user of your application  turns on some certain functionality, you can do so here.