spring-batch BatchIntegrationNamespaceHandler 源码

  • 2022-08-16
  • 浏览 (230)

spring-batch BatchIntegrationNamespaceHandler 代码

文件路径:/spring-batch-integration/src/main/java/org/springframework/batch/integration/config/xml/BatchIntegrationNamespaceHandler.java

/*
 * Copyright 2002-2021 the original author or authors.
 *
 * 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
 *
 *      https://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.
 */
package org.springframework.batch.integration.config.xml;

import org.springframework.integration.config.xml.AbstractIntegrationNamespaceHandler;

/**
 * The namespace handler for the Spring Batch Integration namespace.
 *
 * @author Gunnar Hillert
 * @author Chris Schaefer
 * @author Mahmoud Ben Hassine
 * @since 1.3
 */
public class BatchIntegrationNamespaceHandler extends AbstractIntegrationNamespaceHandler {

	/*
	 * (non-Javadoc)
	 *
	 * @see org.springframework.beans.factory.xml.NamespaceHandler#init()
	 */
	public void init() {
		this.registerBeanDefinitionParser("job-launching-gateway", new JobLaunchingGatewayParser());
		RemoteChunkingManagerParser remoteChunkingManagerParser = new RemoteChunkingManagerParser();
		this.registerBeanDefinitionParser("remote-chunking-manager", remoteChunkingManagerParser);
		RemoteChunkingWorkerParser remoteChunkingWorkerParser = new RemoteChunkingWorkerParser();
		this.registerBeanDefinitionParser("remote-chunking-worker", remoteChunkingWorkerParser);
	}

}

相关信息

spring-batch 源码目录

相关文章

spring-batch JobLaunchingGatewayParser 源码

spring-batch RemoteChunkingManagerParser 源码

spring-batch RemoteChunkingWorkerParser 源码

spring-batch package-info 源码

0  赞