Add documentation on when to resolve SCT delcared beans.

resolves #491
This commit is contained in:
Glenn Renfro
2018-12-03 14:26:03 -05:00
committed by Michael Minella
parent de45d1eb47
commit 2c1e696da2
2 changed files with 8 additions and 1 deletions

View File

@@ -24,7 +24,10 @@ import org.springframework.transaction.PlatformTransactionManager;
/**
* Provides a strategy interface for providing configuration
* customization to the task system.
* customization to the task system. Users should not directly use getter methods
* from a TaskConfigurer directly unless they are using it to supply beans in a
* class annotated with:
* {@link org.springframework.context.annotation.Configuration}.
*
* @author Glenn Renfro
*/

View File

@@ -233,6 +233,10 @@ custom implementation of the `TaskConfigurer` interface. Typically, extending th
overriding the required getter is sufficient. However, implementing your own from scratch
may be required.
NOTE: Users should not directly use getter methods from a TaskConfigurer directly
unless they are using it to supply beans in a class annotated with
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html[Configuration].
[[features-task-name]]
=== Task Name