SPR-4359 renamed 'concurrent' namespace to 'task'

This commit is contained in:
Mark Fisher
2009-05-22 03:12:43 +00:00
parent 7b815b5e05
commit 0007643af9
5 changed files with 11 additions and 11 deletions

View File

@@ -23,12 +23,12 @@ import org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser;
import org.springframework.util.StringUtils;
/**
* Parser for the 'task-scheduler' element of the scheduling namespace.
* Parser for the 'scheduler' element of the 'task' namespace.
*
* @author Mark Fisher
* @since 3.0
*/
public class TaskSchedulerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
public class SchedulerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
@Override
protected String getBeanClassName(Element element) {

View File

@@ -19,16 +19,16 @@ package org.springframework.scheduling.config;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
/**
* <code>NamespaceHandler</code> for the 'concurrent' namespace.
* <code>NamespaceHandler</code> for the 'task' namespace.
*
* @author Mark Fisher
* @since 3.0
*/
public class ConcurrentNamespaceHandler extends NamespaceHandlerSupport {
public class TaskNamespaceHandler extends NamespaceHandlerSupport {
public void init() {
this.registerBeanDefinitionParser("scheduled-tasks", new ScheduledTasksBeanDefinitionParser());
this.registerBeanDefinitionParser("task-scheduler", new TaskSchedulerBeanDefinitionParser());
this.registerBeanDefinitionParser("scheduler", new SchedulerBeanDefinitionParser());
}
}

View File

@@ -1,4 +1,4 @@
http\://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler
http\://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler
http\://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler
http\://www.springframework.org/schema/concurrent=org.springframework.scheduling.config.ConcurrentNamespaceHandler
http\://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler

View File

@@ -6,5 +6,5 @@ http\://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ej
http\://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd
http\://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd
http\://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd
http\://www.springframework.org/schema/concurrent/spring-concurrent-3.0.xsd=org/springframework/scheduling/config/spring-concurrent-3.0.xsd
http\://www.springframework.org/schema/concurrent/spring-concurrent.xsd=org/springframework/scheduling/config/spring-concurrent-3.0.xsd
http\://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd
http\://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns="http://www.springframework.org/schema/concurrent"
<xsd:schema xmlns="http://www.springframework.org/schema/task"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:tool="http://www.springframework.org/schema/tool"
targetNamespace="http://www.springframework.org/schema/concurrent"
targetNamespace="http://www.springframework.org/schema/task"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
@@ -17,7 +17,7 @@
<xsd:import namespace="http://www.springframework.org/schema/beans"/>
<xsd:import namespace="http://www.springframework.org/schema/tool"/>
<xsd:element name="task-scheduler">
<xsd:element name="scheduler">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines a ThreadPoolTaskScheduler instance with configurable pool size.