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

spring.app-ctx.xml Maven / Gradle / Ivy

There is a newer version: 1.0.1
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"
       xmlns:context="http://www.springframework.org/schema/context"
       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.xsd">

    <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="ignoreUnresolvablePlaceholders" value="true"/>
        <property name="ignoreResourceNotFound" value="true"/>
        <property name="locations">
            <list>
                <value>classpath:application.properties</value>
                <value>classpath:${ENV}/application.properties</value>
            </list>
        </property>
    </bean>

    <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
        <property name="targetClass" value="tech.rsqn.useful.things.metrics.Metrics"/>
        <property name="targetMethod" value="startReporting"/>
    </bean>

    <context:annotation-config/>
    <context:component-scan base-package="tech.rsqn.streams"/>
    <context:component-scan base-package="tech.rsqn.streamsdemo"/>

    <import resource="classpath:/spring/services-ctx.xml"/>


</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy