Post a Job  |   Ask a Question?   |   Already registered? login or register
Haribabu Kothappalli
14/11/2016 12:43 PM

Can i configure two spring bean config files into one ioc container (one beqn factory)?

Spam    2 Comments

14/11/2016 23:45:04
no for two configuration file we must have to create two BeanFactory..

15/11/2016 14:32:22
For a Spring Bean Configuration file u can create any number of IoC container but a IoC container never can store/refer more than one 'Spring Bean Configuration file' bcoz for when we create a Bean Factory for a 'Spring Bean Configuration File' then Spring creates a 'In-memory logical partition' (also known as IoC container) and this 'partition' can store only and only one 'Spring Bean Configuration File' as metadata.

Languages :