Added tests for the DefaultLifecycleProcessor and a custom "lifecycleProcessor" bean.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2537 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Mark Fisher
2009-11-27 20:38:43 +00:00
parent d2a6399ea5
commit a4ade65348
2 changed files with 31 additions and 2 deletions
@@ -55,8 +55,8 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
/**
* Specify the maximum time allotted for the shutdown of any phase
* (group of SmartLifecycle beans with the same 'phase' value).
* Specify the maximum time allotted in milliseconds for the shutdown of
* any phase (group of SmartLifecycle beans with the same 'phase' value).
* The default value is 30 seconds.
*/
public void setTimeoutPerShutdownPhase(long timeoutPerShutdownPhase) {