public final void load ( Class < ? > relativeClass , String ... resourceNames ) { Resource [ ] resources = new Resource [ resourceNames . length ] ; for ( int i = 0 ; i < resourceNames . length ; i ++ ) { resources [ i ] = new ClassPathResource ( resourceNames [ i ] , relativeClass ) ; } this . reader . loadBeanDefinitions ( resources ) ; }
Load bean definitions from the given XML resources .