
commerce.broadleaf-common.3.1.12-GA.source-code.bl-fake-applicationContext-ant.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of broadleaf-common Show documentation
Show all versions of broadleaf-common Show documentation
A collection of classes shared by broadleaf profile, cms, admin, and core.
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L BroadleafCommerce Common Libraries %% Copyright (C) 2009 - 2013 Broadleaf Commerce %% 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. #L% --> <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.SimpleTriggerFactoryBean"> <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 - 2025 Weber Informatics LLC | Privacy Policy