Fix Javadoc references to incorrect XML

Replace references to <task:annotation-config> with
<task:annotation-driven>
This commit is contained in:
Phillip Webb
2012-11-20 11:58:06 -08:00
parent 11cf978394
commit 838ba79f55
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ import org.springframework.core.Ordered;
* <pre class="code">
* {@code
* <beans>
* <task:annotation-config executor="myExecutor"/>
* <task:annotation-driven executor="myExecutor"/>
* <task:executor id="myExecutor" pool-size="7-42" queue-capacity="11"/>
* <bean id="asyncBean" class="com.foo.MyAsyncBean"/>
* </beans>

View File

@@ -153,7 +153,7 @@ import org.springframework.scheduling.config.ScheduledTaskRegistrar;
* <pre class="code">
* {@code
* <beans>
* <task:annotation-config scheduler="taskScheduler"/>
* <task:annotation-driven scheduler="taskScheduler"/>
* <task:scheduler id="taskScheduler" pool-size="42"/>
* <task:scheduled ref="myTask" method="work" fixed-rate="1000"/>
* <bean id="myTask" class="com.foo.MyTask"/>