All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.impala-web-path-mapper-bootstrap.xml Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="
http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd">

 <!-- ############## Path mapper definitions ############### -->
 
 <bean id="webModulePrefix" parent = "propertyParent">
     <property name="name" value="web.module.prefix"/>
     <property name="defaultValue" value="constant:[org.impalaframework.web.bootstrap.WebBootstrapProperties.WEB_MODULE_PREFIX]"/>
 </bean>
 
 <bean id="servletPathRequestModuleMapper" class="org.impalaframework.web.integration.ServletPathRequestModuleMapper">
     <property name = "prefix" ref = "webModulePrefix"/>
 </bean>
 
 <bean id="urlPrefixRequestModuleMapper" class="org.impalaframework.web.integration.UrlPrefixRequestModuleMapper">
 </bean>
 
 <bean id="requestModuleMapper" class="org.impalaframework.web.integration.CompositeRequestModuleMapper">
    <property name="requestModuleMappers">  
        <list> 
            <ref local = "urlPrefixRequestModuleMapper"/>
            <ref local = "servletPathRequestModuleMapper"/>
        </list>  
    </property> 
 </bean>
 
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy