META-INF.geomajasWebContextGwt2CommonGwt.xml Maven / Gradle / Ivy
<!--
~ This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
~
~ Copyright 2008-2015 Geosparc nv, http://www.geosparc.com/, Belgium.
~
~ The program is available in open source according to the GNU Affero
~ General Public License. All contributions in this program are covered
~ by the Geomajas Contributors License Agreement. For full licensing
~ details, see LICENSE.txt in the project root.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.0.xsd">
<!-- fallback mapping to handle GWT resources from the classpath-->
<bean id="gwtResourceHandlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<!-- need security -->
<property name="interceptors">
<list>
<ref bean="securityInterceptor" />
</list>
</property>
<property name="defaultHandler" value="gwtResourceController"/>
</bean>
<bean id="gwtResourceController" class="org.geomajas.gwt.server.mvc.GwtResourceController"></bean>
<!-- scan for controllers and views -->
<context:component-scan base-package="org.geomajas.gwt.server.mvc" />
</beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy