META-INF.spring.application-context.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2013-2015 by The SeedStack authors. All rights reserved. This file is part of SeedStack, An enterprise-oriented full development stack. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:seed="http://www.seedstack.org/xml-schemas/spring-support" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.seedstack.org/xml-schemas/spring-support http://www.seedstack.org/xml-schemas/spring-support/spring-support-1.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <seed:instance id="application" class="org.seedstack.seed.core.api.Application"/> <context:annotation-config/> <bean class="org.springframework.batch.core.scope.StepScope"/> <bean id="jobLauncher" class="org.springframework.batch.core.launch.support.SimpleJobLauncher"> <property name="jobRepository" ref="jobRepository"/> </bean> <bean id="jobRepository" class="org.springframework.batch.core.repository.support.JobRepositoryFactoryBean"> <property name="dataSource" ref="dataSource"/> <property name="transactionManager" ref="transactionManager"/> </bean> <bean id="jobRegistry" class="org.springframework.batch.core.configuration.support.MapJobRegistry"/> <bean id="jobService" class="org.seedstack.batch.monitoring.service.impl.JobServiceImplFactoryBean"> <property name="tablePrefix"> <seed:configuration key="org.seedstack.batch.monitoring.datasource.table.prefix"/> </property> <property name="jobRepository" ref="jobRepository"/> <property name="jobLauncher" ref="jobLauncher"/> <property name="jobLocator" ref="jobRegistry"/> <property name="dataSource" ref="dataSource"/> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy