<bean id="pseudoDemandStatusJobListener" class="com.uprr.app.csr.job.CustomJobListener">
<property name="enaNotificationVO" ref="enaNotificationVO"/>
</bean>
<bean id="pseudoDemandStatusJobListener1" class="com.uprr.app.csr.job.CustomJobListener">
<property name="enaNotificationVO" ref="enaNotificationVO"/>
</bean>
<bean id="enaNotificationVO" class="com.uprr.app.csr.ena.vo.ENANotificationVO" singleton="false">
<property name="fromAddress" value="PSD_STATUS_JOB@test.com"/>
</bean>
in the above configration pseudoDemandStatusJobListener and pseudoDemandStatusJobListener1 will have the same instance of enaNotificationVO or different ?


Reply With Quote
