<?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.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">
<!-- auto register Processor -->
<context:annotation-config />
<!--
<bean id="deliveryApplicationContext"
class="com.sdo.ewallet.emall.sales.website.hessian.DeliveryApplicationContext" />
-->
<bean id="hessianServiceManager"
class="com.sdo.ewallet.comm.hessian.HessianServiceManager" />
<bean id="deliveryHessianServiceRegister"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject">
<ref bean="hessianServiceManager" />
</property>
<property name="targetMethod">
<value>registerServices</value>
</property>
<property name="arguments">
<list>
<list>
<ref bean="sales2NetbarDeliveryService" />
<ref bean="syncNetbarInfo2Emall" />
<ref bean="hessianShopService" />
</list>
</list>
</property>
</bean>
</beans>
MethodInvokingFactoryBean使用配置
最新推荐文章于 2020-07-19 17:16:44 发布