I am using Spring @Configuration annotation to configure my application.
@Configuration
Currently, I have a single @Configuration class where all my beans are
@Configuration @Import({ DataSourceConfig.class, TransactionConfig.class }) public class AppConfig extends ConfigurationSupport { // bean definitions here can reference bean definitions in DataSourceConfig or TransactionConfig }