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

spring.startup-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"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.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 id="jetty" class="tech.rsqn.server.EmbeddedJetty" init-method="start">
        <property name="port" value="${webapp.port}"/>
        <property name="contextPath" value="${webapp.contextPath}"/>
        <property name="appBaseSearchPaths">
            <list>
                <value>webapp</value>
                <value>src/webapp</value>
            </list>
        </property>
    </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy