beanConfigurerTests-beans.xml 2.8 KB
Newer Older
C
Chris Beams 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:context="http://www.springframework.org/schema/context"
		xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
				http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$WireArbitraryExistingPojo"
			factory-method="aspectOf"/>

	<bean id="beanOne" class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$ShouldBeConfiguredBySpring"
			lazy-init="true">
		<property name="name" value="Rod"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$ShouldBeConfiguredBySpringUsingTypeNameAsBeanName"
			lazy-init="true">
		<property name="name" value="Rob"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$SubBean"
			lazy-init="true">
		<property name="name" value="Ramnivas"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$SubBeanPreConstruction"
			lazy-init="true">
		<property name="name" value="Ramnivas"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$SubSerializableBean"
			lazy-init="true">
		<property name="name" value="Ramnivas"/>
	</bean>

	<bean id="circular" class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$CircularFactoryBean"
			autowire-candidate="false"/>

	<!-- Used as a target for autowiring by type -->
	<bean id="ramnivas" class="org.springframework.beans.TestBean" depends-on="circular">
		<property name="name" value="Ramnivas"/>
		<property name="spouse" ref="circular"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$ArbitraryExistingPojo">
		<property name="friend" ref="ramnivas"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$PreConstructionConfiguredBean">
		<property name="name" value="ramnivas"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$PostConstructionConfiguredBean">
		<property name="name" value="ramnivas"/>
	</bean>

	<bean class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$GenericParameterConfigurableBean" scope="prototype">
		<property name="testService" ref="testService"/>
	</bean>

	<bean id="testService" class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$TestService"/>
	<bean id="paymentService" class="org.springframework.beans.factory.aspectj.AbstractBeanConfigurerTests$PaymentService"/>

</beans>