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

erio.celerio-engine.4.0.11.source-code.applicationContext-celerio.xml Maven / Gradle / Ivy

There is a newer version: 4.0.23
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2015 JAXIO http://www.jaxio.com
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<beans default-lazy-init="true" 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-4.2.xsd
            http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd">

    <context:component-scan base-package="com.jaxio.celerio"/>
    <context:property-placeholder location="classpath*:build.properties,classpath*:release.properties"/>

    <bean id="buildInfo" class="com.jaxio.celerio.configuration.BuildInfo">
        <property name="pomVersion" value="${pom.version}"/>
        <property name="pomName" value="${pom.name}"/>
        <property name="pomGroupId" value="${pom.groupId}"/>
        <property name="pomArtifactId" value="${pom.artifactId}	"/>
    </bean>

    <bean id="celerioMarshaller" class="org.springframework.oxm.jibx.JibxMarshaller">
        <property name="targetClass" value="com.jaxio.celerio.configuration.Celerio"/>
        <property name="indent" value="2"/>
    </bean>

    <bean id="dbMetadataMarshaller" class="org.springframework.oxm.jibx.JibxMarshaller">
        <property name="targetClass" value="com.jaxio.celerio.configuration.database.Metadata"/>
        <property name="indent" value="2"/>
    </bean>

    <bean id="eclipseProfilesMarshaller" class="org.springframework.oxm.jibx.JibxMarshaller">
        <property name="targetClass" value="com.jaxio.celerio.configuration.eclipse.Profiles"/>
        <property name="indent" value="2"/>
    </bean>

    <bean id="celerioPackMarshaller" class="org.springframework.oxm.jibx.JibxMarshaller">
        <property name="targetClass" value="com.jaxio.celerio.configuration.pack.CelerioPack"/>
        <property name="indent" value="2"/>
    </bean>


    <bean class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
        <description>
            See
            http://velocity.apache.org/engine/releases/velocity-1.6.2/developer-guide.html#Configuring_Resource_Loaders
            Load from file then fallback to classpath
        </description>
        <property name="velocityProperties">
            <props>
                <prop key="runtime.references.strict">true</prop>
                <prop key="runtime.log.invalid.references">true</prop>

                <prop key="runtime.log.logsystem.class">org.apache.velocity.runtime.log.Log4JLogChute</prop>
                <prop key="runtime.log.logsystem.log4j.logger">com.jaxio.celerio.VelocityGenerator</prop>

                <prop key="resource.loader">file, class</prop>

                <prop key="file.resource.loader.description">Velocity File Resource Loader</prop>
                <prop key="file.resource.loader.class">org.apache.velocity.runtime.resource.loader.FileResourceLoader
                </prop>
                <prop key="file.resource.loader.path">., src/main/velocity</prop>
                <prop key="file.resource.loader.cache">true</prop>
                <prop key="file.resource.loader.modificationCheckInterval">-1</prop>

                <prop key="class.resource.loader.description">Velocity Classpath Resource Loader</prop>
                <prop key="class.resource.loader.class">
                    org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
                </prop>
            </props>
        </property>
    </bean>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy