webx-admin.xml 1.42 KB
<?xml version="1.0" encoding="UTF-8"?>
<!-- Webx Sub Context Configuration.  -->
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:services="http://www.alibaba.com/schema/services"
             xmlns:ml-factories="http://www.alibaba.com/schema/services/module-loader/factories"
             xsi:schemaLocation="http://www.alibaba.com/schema/services http://localhost:8080/schema/services.xsd

                 http://www.alibaba.com/schema/services/module-loader/factories http://localhost:8080/schema/services-module-loader-factories.xsd
                 http://www.springframework.org/schema/beans http://localhost:8080/schema/www.springframework.org/schema/beans/spring-beans.xsd">

    <!-- 支持${xxx}替换。 -->
    <services:property-placeholder>
        <property key="component">admin</property>
    </services:property-placeholder>

    <!-- 共享配置。 -->
    <beans:import resource="common/webx-component-and-root.xml" />
    <beans:import resource="common/webx-component.xml" />

    <!-- 执行管道。 -->
    <beans:import resource="common/pipeline.xml" />

    <!-- 装载模块。 -->
    <services:module-loader>
        <ml-factories:class-modules>
            <search-packages type="$1" packages="com.xiniunet.web.admin.module.*" />
        </ml-factories:class-modules>
    </services:module-loader>



</beans:beans>