Browse Source
moving and prepping to move SingletonBeanFactoryLocatorTests and ContextSingletonBeanFactoryLocatorTests to their respective .beans and .context packagespull/23217/head
7 changed files with 33 additions and 8 deletions
@ -0,0 +1,28 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> |
||||||
|
|
||||||
|
<!-- We are only using one definition file for the purposes of this test, since we do not have multiple |
||||||
|
classloaders available in the environment to allow combining multiple files of the same name, but |
||||||
|
of course the contents within could be spread out across multiple files of the same name withing |
||||||
|
different jars --> |
||||||
|
|
||||||
|
<beans> |
||||||
|
|
||||||
|
<!-- this definition could be inside one beanRefFactory.xml file --> |
||||||
|
<bean id="a.qualified.name.of.some.sort" |
||||||
|
class="org.springframework.beans.factory.xml.XmlBeanFactory"> |
||||||
|
<constructor-arg value="org/springframework/beans/factory/access/beans1.xml"/> |
||||||
|
</bean> |
||||||
|
|
||||||
|
<!-- while the following two could be inside another, also on the classpath, |
||||||
|
perhaps coming from another component jar --> |
||||||
|
|
||||||
|
<bean id="another.qualified.name" |
||||||
|
class="org.springframework.beans.factory.xml.XmlBeanFactory"> |
||||||
|
<constructor-arg value="org/springframework/beans/factory/access/beans1.xml"/> |
||||||
|
<constructor-arg ref="a.qualified.name.of.some.sort"/> <!-- parent bean factory --> |
||||||
|
</bean> |
||||||
|
|
||||||
|
<alias name="another.qualified.name" alias="a.qualified.name.which.is.an.alias"/> |
||||||
|
|
||||||
|
</beans> |
||||||
Loading…
Reference in new issue