문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | |||
springframework:configuration [2015/07/31 11:12] kwon37xi |
springframework:configuration [2015/07/31 11:12] kwon37xi |
||
---|---|---|---|
줄 6: | 줄 6: | ||
* 동일 이름 Bean Override를 방지하려면< | * 동일 이름 Bean Override를 방지하려면< | ||
DefaultListableBeanFactory.setAllowBeanDefinitionOverriding(false); | DefaultListableBeanFactory.setAllowBeanDefinitionOverriding(false); | ||
- | // or GenericApplicationContext.setAllowBeanDefinitionOverriding(false); | + | // or |
+ | GenericApplicationContext.setAllowBeanDefinitionOverriding(false); | ||
</ | </ | ||