SPR-4359 renamed 'concurrent' namespace to 'task'
This commit is contained in:
@@ -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) {
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user