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

commerce.broadleaf-common.3.0.15-GA.source-code.bl-fake-applicationContext-ant.xml Maven / Gradle / Ivy

There is a newer version: 3.1.15-GA
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.2.xsd">
    
    <!-- THIS SHOULD NEVER BE INCLUDED IN THE NORMAL MERGE PROCESS!!! IT IS ONLY USED FOR 
         THE "build-sql" ANT TASK.  THIS TASK REQUIRES THE DATA SOURCE BEANS TO BE 
         CONFIUGRED, BUT DOES NOT ACTUALLY NEED ACCESS TO THE DATABASES. -->

    <bean id="webDS" class="org.apache.commons.dbcp.BasicDataSource"/>
    
    <bean id="webSecureDS" class="org.apache.commons.dbcp.BasicDataSource"/>

    <bean id="webStorageDS" class="org.apache.commons.dbcp.BasicDataSource"/>
    
    <!-- This is used to override the component that checks the sequences.  It won't work 
         unless you can connect to a real database. Since, for the ant task that generates DDL, 
         we don't require a database, this needs to be deactivated. The way to do this is to define 
         the bean as something that does not implement Spring's ApplicationListener interface. -->
    <bean id="blSequenceGeneratorCorruptionDetection" class="java.lang.Object"/>
    
    <!-- Overrides the Quartz job for rebuilding the Solr index. Times are intended to be set so that this never actually
        gets kicked off -->
    <bean id="rebuildIndexJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
        <property name="targetObject" ref="blSearchService" />
        <property name="targetMethod" value="rebuildIndex" />
    </bean> 
    <bean id="rebuildIndexTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean">
        <property name="jobDetail" ref="rebuildIndexJobDetail" />
        <property name="startDelay" value="999999999999999" />
        <property name="repeatInterval" value="999999999999999" />
    </bean>
    
    <!-- Additional beans that must be declared for the build-sql task -->
    <bean id="blVariableExpressions" class="org.springframework.beans.factory.config.ListFactoryBean">
        <property name="sourceList">
            <list />
        </property>
    </bean>
    
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy