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

esthub-web-server.2.1.0.source-code.resthubContext.xml Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
<beans profile="resthub-web-server" xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:mvc="http://www.springframework.org/schema/mvc"
    xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">

    <context:annotation-config />
    <context:component-scan base-package="org.resthub.web" />

    <mvc:annotation-driven>
        <mvc:message-converters register-defaults="false">
            <bean class="org.resthub.web.converter.MappingJackson2JsonHttpMessageConverter" />
            <bean class="org.resthub.web.converter.MappingJackson2XmlHttpMessageConverter" />
            <bean class="org.springframework.http.converter.StringHttpMessageConverter" />
        </mvc:message-converters>
    </mvc:annotation-driven> 
    
    <mvc:default-servlet-handler />   

</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy