manager_Test.xml
1.77 KB
<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/beans http://localhost:8080/schema/www.springframework.org/schema/beans/spring-beans.xsd"
default-autowire="byType">
<context:component-scan base-package="com.lecuntao.ordering.*.biz">
<context:include-filter type="regex" expression=".*Impl"/>
</context:component-scan>
<context:component-scan base-package="com.lecuntao.ordering.*.svc">
<context:include-filter type="regex" expression=".*Impl" />
</context:component-scan>
<context:component-scan base-package="com.lecuntao.ordering.customization.message"/>
<import resource="classpath:dubbo-lecuntao-consumer.xml"/>
<!--消费service-->
<!--<import resource="classpath:dubbo-lecuntao-provider.xml"/>-->
<bean id="passport" class="com.xiniunet.framework.security.Passport">
<property name="id" value="732469454910656512"/>
<property name="tenantId" value="512824102474878976"/>
<property name="userId" value="532768031404068864"/>
<property name="userName" value="沈振家"/>
</bean>
</beans>