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

META-INF.spring.batch.bootstrap.manager.jmx-context.xml Maven / Gradle / Ivy

Go to download

Web and service tier of Spring Batch Admin console. Basic use cases include visualization of Batch meta data, and also launching and stopping jobs inside the webapp container.

The 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"
	xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

	<context:mbean-server id="mbeanServer" />

	<context:mbean-export default-domain="spring.application" server="mbeanServer" />

	<bean id="batchMBeanExporter" class="org.springframework.batch.admin.jmx.BatchMBeanExporter">
		<property name="server" ref="mbeanServer" />
		<property name="jobService">
			<bean class="org.springframework.aop.framework.ProxyFactoryBean">
				<property name="targetName" value="jobService" />
			</bean>
		</property>
		<property name="defaultDomain" value="spring.application" />
	</bean>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy