While developing Spring-based applications, you may come across a need to register beans conditionally.
For example, you may want to register a DataSource bean pointing to the DEV database when running
applications locally and point to a different PRODUCTION database when running in production.
Tag