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

This commit is contained in:
Mark Fisher
2009-11-27 20:38:43 +00:00
parent 1ac7b95c1d
commit a64f0f1ebe
2 changed files with 31 additions and 2 deletions

View File

@@ -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) {