uris.xml 1.99 KB
<?xml version="1.0" encoding="UTF-8"?>
<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:uris="http://www.alibaba.com/schema/services/uris"
             xsi:schemaLocation="http://www.alibaba.com/schema/services http://localhost:8080/schema/services.xsd
                 http://www.alibaba.com/schema/services/uris http://localhost:8080/schema/services-uris.xsd
                 http://www.springframework.org/schema/beans http://localhost:8080/schema/www.springframework.org/schema/beans/spring-beans.xsd">

    <services:uris>
        <uris:uri id="server" requestAware="true" />

        <uris:servlet-uri id="httpServer" requestAware="true">
            <servletPath>/</servletPath>
        </uris:servlet-uri>

        <uris:servlet-uri id="httpsServer" requestAware="true">
            <serverScheme>https</serverScheme>
            <serverPort>443</serverPort>
            <servletPath>/</servletPath>
        </uris:servlet-uri>

        <uris:turbine-uri id="homeLink" exposed="true" extends="${web.tutorial.protocol}Server">
            <componentPath>/</componentPath>
        </uris:turbine-uri>
        <uris:turbine-uri id="tutorialLink" exposed="true" extends="${web.tutorial.protocol}Server">
            <componentPath>/tutorial/</componentPath>
        </uris:turbine-uri>
        <uris:turbine-uri id="guideLink" exposed="true" extends="${web.tutorial.protocol}Server">
            <componentPath>/guide/</componentPath>
        </uris:turbine-uri>
        <uris:turbine-content-uri id="homeContent" exposed="true" extends="homeLink">
            <componentPath>/home/</componentPath>
        </uris:turbine-content-uri>
        <uris:turbine-content-uri id="tutorialContent" exposed="true" extends="tutorialLink" />
        <uris:turbine-content-uri id="guideContent" exposed="true" extends="guideLink" />
    </services:uris>
</beans:beans>