@ -380,6 +380,12 @@ Notice that the methods to be scheduled must have void returns and must not acce
@@ -380,6 +380,12 @@ Notice that the methods to be scheduled must have void returns and must not acce
arguments. If the method needs to interact with other objects from the application
context, those would typically have been provided through dependency injection.
`@Scheduled` can be used as a repeatable annotation. If several scheduled declarations
are found on the same method, each of them will be processed independently, with a
separate trigger firing for each of them. As a consequence, such co-located schedules
may overlap and execute multiple times in parallel or in immediate succession.
Please make sure that your specified cron expressions etc do not accidentally overlap.
[NOTE]
====
As of Spring Framework 4.3, `@Scheduled` methods are supported on beans of any scope.
@ -354,7 +354,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -354,7 +354,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
// MBean has a bad ObjectName, so if said MBean is autodetected, an exception will be thrown...
start(exporter);
}
@ -524,18 +524,16 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -524,18 +524,16 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -556,7 +554,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -556,7 +554,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -576,7 +574,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -576,7 +574,7 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -636,24 +634,23 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -636,24 +634,23 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -663,11 +660,12 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@@ -663,11 +660,12 @@ public class MBeanExporterTests extends AbstractMBeanServerTests {
@ -59,8 +59,8 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@@ -59,8 +59,8 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
/**
*CreateanewJdbcTransactionManagerinstance.
*ADataSourcehastobesettobeabletouseit.
*Createanew{@codeJdbcTransactionManager}instance.
*A{@codeDataSource}hastobesettobeabletouseit.
*@see#setDataSource
*/
publicJdbcTransactionManager(){
@ -68,7 +68,7 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@@ -68,7 +68,7 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@ -79,13 +79,15 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@@ -79,13 +79,15 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@ -97,22 +99,22 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@@ -97,22 +99,22 @@ public class JdbcTransactionManager extends DataSourceTransactionManager {
@ -72,7 +74,7 @@ public class SQLExceptionSubclassTranslator extends AbstractFallbackSQLException
@@ -72,7 +74,7 @@ public class SQLExceptionSubclassTranslator extends AbstractFallbackSQLException
@ -111,7 +116,7 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
@@ -111,7 +116,7 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
@ -148,9 +153,10 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
@@ -148,9 +153,10 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
@ -163,4 +169,13 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
@@ -163,4 +169,13 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException