当从容器中删除该bean时,其生命周期终止。
The lifecycle ends when the bean is removed from the container.
Thread1 是一个周期性线程(扩展 WatchedPeriodicThread),运行 10 个迭代后由于 “意外” 异常而终止。
Thread1 is a periodic thread (extends WatchedPeriodicThread) that runs for 10 iterations and then dies because of an "unexpected" exception.
比如,美国政客曾周期性终止风力发电的免税政策。
American politicians have periodically allowed a tax break for wind generation to expire, for example.
应用推荐