<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:configurator="http://cocoon.apache.org/schema/configurator"
       xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       				    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
       				    http://cocoon.apache.org/schema/configurator  http://cocoon.apache.org/schema/configurator/cocoon-configurator-2.0.0.xsd">

    <context:component-scan base-package="com.agilex.healthcare.*" />

    <!--<mvc:annotation-driven>-->
        <!--<mvc:message-converters register-defaults="true">-->
            <!--<bean id="jsonConverter"-->
                  <!--class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">-->
                <!--<property name="objectMapper">-->
                    <!--<bean class="org.codehaus.jackson.map.ObjectMapper" />-->
                <!--</property>-->
            <!--</bean>-->
        <!--</mvc:message-converters>-->
    <!--</mvc:annotation-driven>-->

    <context:annotation-config />

    <configurator:settings>
        <configurator:include-beans dir="classpath*:/spring/config" />
        <configurator:include-properties dir="classpath*:/spring/properties" />
    </configurator:settings>

    <bean id="messageSource"
          class="org.springframework.context.support.ResourceBundleMessageSource">
        <property name="basename">
            <value>META-INF/cocoon/properties/messages</value>
        </property>
    </bean>
</beans>