hello,

J aimerais savoir comment je peux recupérer un bean définit dans un applicationContext depuis un autre fichier de configuration

car lorsque je définis

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
	<bean name="importDealerJob"
		class="org.springframework.scheduling.quartz.JobDetailBean">
		<property name="jobClass"
			value="com.mtsa.ebonus.scheduler.ImportDealerJob" />
		<property name="jobDataAsMap">
			<map>
				<entry key="timeout" value="0" />
			</map>
		</property>
                <property name="importDealerService">
                      <ref bean="importDealerService"
		</property>
	</bean>
il ne trouve pas le bean importDealerService qui lui est définit dans un autre applicationContext