实现spring + java多线程。
1. Spring + Java Threads example
Create a simple Java thread by extending Thread, and managed by Spring’s container via @Component. The bean scope must be “prototype“, so that each request will return a new instance, to run each individual thread.
PrintThread.java
package c[......]